add hint text for artist searches

This commit is contained in:
albert
2013-02-21 12:00:52 -05:00
parent 64f6c5661f
commit 762bbd2caf
3 changed files with 7 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ form.simple_form {
line-height: 1.5em; line-height: 1.5em;
} }
span.hint { .hint {
color: #666; color: #666;
font-style: italic; font-style: italic;
} }

View File

@@ -35,7 +35,7 @@ div#c-artists {
} }
} }
span.hint { .hint {
display: block; display: block;
} }
} }

View File

@@ -4,7 +4,11 @@
<div id="search-form"> <div id="search-form">
<%= form_tag(artists_path, :method => :get, :class => "simple_form") do %> <%= form_tag(artists_path, :method => :get, :class => "simple_form") do %>
<%= search_field "name" %> <div class="input">
<label>Name</label>
<%= text_field "search", "name" %>
<p class="hint">You can search on any name or URL</p>
</div>
<%= submit_tag "Search" %> <%= submit_tag "Search" %>
<% end %> <% end %>
</div> </div>