views: refactor quick search forms.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<%= form_tag(artists_path, :method => :get) do %>
|
||||
<%= text_field "search", "any_name_or_url_matches", id: "quick_search_name", placeholder: "Search artists", "data-autocomplete": "artist" %>
|
||||
<% end %>
|
||||
@@ -1,6 +1,6 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<li><%= render "artists/quick_search" %></li>
|
||||
<%= quick_search_form_for(:any_name_or_url_matches, artists_path, "artists", autocomplete: "artist") %>
|
||||
<%= subnav_link_to "Listing", artists_path %>
|
||||
<%= subnav_link_to "Banned", banned_artists_path %>
|
||||
<% if CurrentUser.is_member? %>
|
||||
|
||||
Reference in New Issue
Block a user