fix search forms
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
<div id="a-search">
|
<div id="a-search">
|
||||||
<h1>Search Comments</h1>
|
<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" %>
|
<%= hidden_field_tag "group_by", "comment" %>
|
||||||
|
|
||||||
<%= search_field :body_matches, :label => "Body" %>
|
<%= search_field "body_matches", :label => "Body" %>
|
||||||
<%= search_field :creator_name, :label => "User" %>
|
<%= search_field "creator_name", :label => "User" %>
|
||||||
<%= search_field :post_tags_match, :label => "Tags" %>
|
<%= search_field "post_tags_match", :label => "Tags" %>
|
||||||
<%= submit_tag "Search" %>
|
<%= submit_tag "Search" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
<%= form_tag(dmails_path, :method => :get, :class => "simple_form") do %>
|
<%= form_tag(dmails_path, :method => :get, :class => "simple_form") do %>
|
||||||
<%= hidden_field_tag :folder, params[:folder] %>
|
<%= hidden_field_tag :folder, params[:folder] %>
|
||||||
|
|
||||||
<%= search_field :message_matches, :label => "Message" %>
|
<%= search_field "message_matches", :label => "Message" %>
|
||||||
<%= search_field :to_name, :label => "To" %>
|
<%= search_field "to_name", :label => "To" %>
|
||||||
<%= search_field :from_name, :label => "From" %>
|
<%= search_field "from_name", :label => "From" %>
|
||||||
<%= submit_tag "Search" %>
|
<%= submit_tag "Search" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
<div id="a-search">
|
<div id="a-search">
|
||||||
<h1>Search Forum</h1>
|
<h1>Search Forum</h1>
|
||||||
<%= form_tag(forum_topics_path, :method => :get, :class => "simple_form") do %>
|
<%= form_tag(forum_topics_path, :method => :get, :class => "simple_form") do %>
|
||||||
<%= search_field :topic_title_matches, :label => "Title" %>
|
<%= search_field "topic_title_matches", :label => "Title" %>
|
||||||
<%= search_field :body_matches, :label => "Body" %>
|
<%= search_field "body_matches", :label => "Body" %>
|
||||||
<%= search_field :creator_name, :label => "Author" %>
|
<%= search_field "creator_name", :label => "Author" %>
|
||||||
<%= submit_tag "Search" %>
|
<%= submit_tag "Search" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
<h1>Search Notes</h1>
|
<h1>Search Notes</h1>
|
||||||
|
|
||||||
<%= form_tag(notes_path, :method => :get, :class => "simple_form") do %>
|
<%= form_tag(notes_path, :method => :get, :class => "simple_form") do %>
|
||||||
<%= hidden_field_tag :group_by, "note" %>
|
<%= hidden_field_tag "group_by", "note" %>
|
||||||
<%= search_field :body_matches, :label => "Body" %>
|
<%= search_field "body_matches", :label => "Body" %>
|
||||||
<%= search_field :post_tags_match, :label => "Tags" %>
|
<%= search_field "post_tags_match", :label => "Tags" %>
|
||||||
<%= search_field :creator_name, :label => "Author" %>
|
<%= search_field "creator_name", :label => "Author" %>
|
||||||
<%= submit_tag "Search" %>
|
<%= submit_tag "Search" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user