fix search forms
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
<h1>Search Notes</h1>
|
||||
|
||||
<%= form_tag(notes_path, :method => :get, :class => "simple_form") do %>
|
||||
<%= hidden_field_tag :group_by, "note" %>
|
||||
<%= search_field :body_matches, :label => "Body" %>
|
||||
<%= search_field :post_tags_match, :label => "Tags" %>
|
||||
<%= search_field :creator_name, :label => "Author" %>
|
||||
<%= hidden_field_tag "group_by", "note" %>
|
||||
<%= search_field "body_matches", :label => "Body" %>
|
||||
<%= search_field "post_tags_match", :label => "Tags" %>
|
||||
<%= search_field "creator_name", :label => "Author" %>
|
||||
<%= submit_tag "Search" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user