From c8dae1315f8aef656df0627cdf155580d931f9aa Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 6 May 2016 09:07:24 -0300 Subject: [PATCH] html safe fix in accept new friend --- app/views/tasks/_add_friend_accept_details.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/tasks/_add_friend_accept_details.html.erb b/app/views/tasks/_add_friend_accept_details.html.erb index 68745c7..4d956eb 100644 --- a/app/views/tasks/_add_friend_accept_details.html.erb +++ b/app/views/tasks/_add_friend_accept_details.html.erb @@ -1,7 +1,7 @@ -<%=_('Classify your new friend:') + +<%=(_('Classify your new friend:') + text_field_with_local_autocomplete("tasks[#{task.id}][task][group_for_friend]", task.target.suggested_friend_groups, - {:id => "field-group-for-friend-#{task.id}", :maxlength => 150}) + {:id => "field-group-for-friend-#{task.id}", :maxlength => 150})).html_safe %>

<%=_('Suggestions: %s') % task.target.suggested_friend_groups.join(', ') %> -- libgit2 0.21.2