add hint text for artist searches
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ div#c-artists {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
span.hint {
|
.hint {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user