Commit 9cf96ec9f56271f19998c1b08674680263503c9a
1 parent
44949dc0
Exists in
master
and in
29 other branches
[search-improvements] Adds suggestions to profile search page
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/shared/_profile_search_form.html.erb
1 | 1 | <%= form_tag( { :controller => 'profile_search', :profile => profile.identifier}, :method => 'get', :class => 'search_form' ) do %> |
2 | 2 | <div class="search-field"> |
3 | 3 | <span class="formfield"> |
4 | - <%= text_field_tag 'q', @q, :title => _("Find in %s's content") % profile.short_name %> | |
4 | + <%= search_input_with_suggestions 'q', :articles, @q, :title => _("Find in %s's content") % profile.short_name %> | |
5 | 5 | </span> |
6 | 6 | <%= submit_button(:search, _('Search')) %> |
7 | 7 | <div> | ... | ... |