fixes #894, fixes #893, fixes #892

This commit is contained in:
albert
2013-03-17 22:26:17 -04:00
parent 64f055b43e
commit 37fd0d2422
7 changed files with 20 additions and 0 deletions

View File

@@ -11,6 +11,14 @@ header#top {
background: $menu_color;
padding: 6px 20px;
form {
display: inline-block;
input {
width: 8em;
}
}
li {
margin: 0;
padding: 0;

View File

@@ -0,0 +1,3 @@
<%= form_tag(artists_path, :method => :get, :target => "_blank") do %>
<%= text_field "search", "name" %>
<% end %>

View File

@@ -1,5 +1,6 @@
<% content_for(:secondary_links) do %>
<menu>
<li><%= render "quick_search" %></li>
<li><%= link_to "Listing", artists_path %></li>
<li><%= link_to "Banned", banned_artists_path %></li>
<li><%= link_to "Search", search_artists_path %></li>

View File

@@ -0,0 +1,3 @@
<%= form_tag(pools_path, :method => :get, :target => "_blank") do %>
<%= text_field "search", "name_matches" %>
<% end %>

View File

@@ -1,5 +1,6 @@
<% content_for(:secondary_links) do %>
<menu>
<li><%= render "quick_search" %></li>
<li><%= link_to "Listing", pools_path %></li>
<li><%= link_to "Search", search_pools_path %></li>
<li><%= link_to "New", new_pool_path %></li>

View File

@@ -0,0 +1,3 @@
<%= form_tag(tags_path, :method => :get, :target => "_blank") do %>
<%= text_field "search", "name_matches" %>
<% end %>

View File

@@ -1,5 +1,6 @@
<% content_for(:secondary_links) do %>
<menu>
<li><%= render "quick_search" %></li>
<li><%= link_to "Listing", tags_path %></li>
<li><%= link_to "Search", search_tags_path %></li>
<li><%= link_to "Help", wiki_pages_path(:search => {:title => "help:tags"}) %></li>