adds placeholder text to quick search

This commit is contained in:
Toks
2013-03-30 14:43:42 -04:00
parent 0c1dcbca0b
commit 445e677956
5 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ header#top {
display: inline-block; display: inline-block;
input { input {
width: 8em; width: 8.5em;
} }
} }

View File

@@ -1,3 +1,3 @@
<%= form_tag(artists_path, :method => :get) do %> <%= form_tag(artists_path, :method => :get) do %>
<%= text_field "search", "name" %> <%= text_field "search", "name", :placeholder => "Search artists" %>
<% end %> <% end %>

View File

@@ -1,3 +1,3 @@
<%= form_tag(pools_path, :method => :get) do %> <%= form_tag(pools_path, :method => :get) do %>
<%= text_field "search", "name_matches" %> <%= text_field "search", "name_matches", :placeholder => "Search pools" %>
<% end %> <% end %>

View File

@@ -1,3 +1,3 @@
<%= form_tag(tags_path, :method => :get) do %> <%= form_tag(tags_path, :method => :get) do %>
<%= text_field "search", "name_matches" %> <%= text_field "search", "name_matches", :placeholder => "Search tags" %>
<% end %> <% end %>

View File

@@ -1,3 +1,3 @@
<%= form_tag(wiki_pages_path, :method => :get) do %> <%= form_tag(wiki_pages_path, :method => :get) do %>
<%= text_field "search", "title" %> <%= text_field "search", "title", :placeholder => "Search wiki pages" %>
<% end %> <% end %>