Commit c8dae1315f8aef656df0627cdf155580d931f9aa

Authored by Leandro Santos
1 parent 636674e0

html safe fix in accept new friend

app/views/tasks/_add_friend_accept_details.html.erb
1 -<%=_('Classify your new friend:') + 1 +<%=(_('Classify your new friend:') +
2 text_field_with_local_autocomplete("tasks[#{task.id}][task][group_for_friend]", 2 text_field_with_local_autocomplete("tasks[#{task.id}][task][group_for_friend]",
3 task.target.suggested_friend_groups, 3 task.target.suggested_friend_groups,
4 - {:id => "field-group-for-friend-#{task.id}", :maxlength => 150}) 4 + {:id => "field-group-for-friend-#{task.id}", :maxlength => 150})).html_safe
5 %> 5 %>
6 <p class="friend-classify-suggestions"> 6 <p class="friend-classify-suggestions">
7 <%=_('Suggestions: %s') % task.target.suggested_friend_groups.join(', ') %> 7 <%=_('Suggestions: %s') % task.target.suggested_friend_groups.join(', ') %>