views: refactor quick search forms.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<%= form_tag(artist_commentaries_path, :method => :get) do %>
|
||||
<%= text_field "search", "text_matches", :id => "quick_search_text_matches", :placeholder => "Search commentary" %>
|
||||
<% end %>
|
||||
@@ -1,6 +1,6 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<li><%= render "artist_commentaries/quick_search" %></li>
|
||||
<%= quick_search_form_for(:text_matches, artist_commentaries_path, "commentaries") %>
|
||||
<%= subnav_link_to "Search", search_artist_commentaries_path %>
|
||||
<%= subnav_link_to "Listing", artist_commentaries_path %>
|
||||
<%= subnav_link_to "Recent changes", artist_commentary_versions_path %>
|
||||
|
||||
Reference in New Issue
Block a user