Commit 573967e989ca01199cb2919da4402f2b2adc71b8
1 parent
d9fbece0
Exists in
stable-spb-1.4
and in
4 other branches
Remove unecessary placeholder
(cherry picked from commit 916e03d98863b7a95894e50916223644884daf8d)
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/search/_search_form.html.erb
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | </div> | 13 | </div> |
14 | <div class="search-field"> | 14 | <div class="search-field"> |
15 | <span class="formfield"> | 15 | <span class="formfield"> |
16 | - <%= search_input_with_suggestions('query', @asset, @query, {:id => 'search-input', :size => 50, :placeholder => hint}) %> | 16 | + <%= search_input_with_suggestions('query', @asset, @query, {:id => 'search-input', :size => 50}) %> |
17 | </span> | 17 | </span> |
18 | 18 | ||
19 | <%= submit_button(:search, _('Search')) %> | 19 | <%= submit_button(:search, _('Search')) %> |
app/views/search/search_page.html.erb
1 | -<%= render :partial => 'search_form', :locals => { :hint => _("Type words about the %s you're looking for") % @asset.to_s.singularize } %> | 1 | +<%= render :partial => 'search_form'%> |
2 | <%= render :partial => 'search_content' %> | 2 | <%= render :partial => 'search_content' %> |
3 | 3 | ||
4 | <div style="clear: both"></div> | 4 | <div style="clear: both"></div> |