Add resolved search for appeals

fixes #1258
This commit is contained in:
Toks
2013-08-04 11:57:27 -04:00
parent 7c11fd440b
commit c6cf19b390
2 changed files with 24 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
<table class="search">
<tbody>
<%= form_tag(post_flags_path, :method => :get, :class => "simple_form") do %>
<%= form_tag(post_appeals_path, :method => :get, :class => "simple_form") do %>
<tr>
<th><label for="search_post_id">Post ID</label></th>
<td>
@@ -19,6 +19,15 @@
</td>
</tr>
<tr>
<th><label for="search_is_resolved">Resolved</label></th>
<td>
<div class="input">
<%= select "search", "is_resolved", ["true", "false"], :selected => params[:search][:is_resolved], :include_blank => true %>
</div>
</td>
</tr>
<tr>
<td><%= submit_tag "Search" %><td>
</tr>