From 9cf96ec9f56271f19998c1b08674680263503c9a Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Sat, 15 Nov 2014 19:23:52 -0300 Subject: [PATCH] [search-improvements] Adds suggestions to profile search page --- app/views/shared/_profile_search_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_profile_search_form.html.erb b/app/views/shared/_profile_search_form.html.erb index dbb1a03..443ac1b 100644 --- a/app/views/shared/_profile_search_form.html.erb +++ b/app/views/shared/_profile_search_form.html.erb @@ -1,7 +1,7 @@ <%= form_tag( { :controller => 'profile_search', :profile => profile.identifier}, :method => 'get', :class => 'search_form' ) do %>
- <%= text_field_tag 'q', @q, :title => _("Find in %s's content") % profile.short_name %> + <%= search_input_with_suggestions 'q', :articles, @q, :title => _("Find in %s's content") % profile.short_name %> <%= submit_button(:search, _('Search')) %>
-- libgit2 0.21.2