This commit is contained in:
albert
2011-07-02 21:04:29 -04:00
parent e9bab19d51
commit bd3af50e10
16 changed files with 94 additions and 32 deletions

View File

@@ -3,9 +3,9 @@
<h1>Search Comments</h1>
<%= simple_form_for(@search) do |f| %>
<%= hidden_field_tag "group_by", "comment" %>
<%= f.input :body_matches, :label => "Body" %>
<%= f.input :creator_name_equals, :label => "User" %>
<%= f.input :post_tag_match, :label => "Tags" %>
<%= f.input :body_matches, :label => "Body", :required => false %>
<%= f.input :creator_name_equals, :label => "User", :required => false %>
<%= f.input :post_tag_match, :label => "Tags", :required => false %>
<%= f.button :submit, "Search" %>
<% end %>