fix search forms

This commit is contained in:
albert
2013-02-18 15:50:57 -05:00
parent 3399ff04fb
commit b109d44daf
4 changed files with 14 additions and 14 deletions

View File

@@ -2,12 +2,12 @@
<div id="a-search">
<h1>Search Comments</h1>
<%= form_tag(comments_path, :method => :get) do |f| %>
<%= form_tag(comments_path, :method => :get, :class => "simple_form") do %>
<%= hidden_field_tag "group_by", "comment" %>
<%= search_field :body_matches, :label => "Body" %>
<%= search_field :creator_name, :label => "User" %>
<%= search_field :post_tags_match, :label => "Tags" %>
<%= search_field "body_matches", :label => "Body" %>
<%= search_field "creator_name", :label => "User" %>
<%= search_field "post_tags_match", :label => "Tags" %>
<%= submit_tag "Search" %>
<% end %>
</div>