[Git][noosfero/noosfero][master] html safe fix in accept new friend

Leandro Nunes gitlab at mg.gitlab.com
Fri May 6 09:07:52 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
c8dae131 by Leandro Nunes dos Santos at 2016-05-06T09:07:24-03:00
html safe fix in accept new friend

- - - - -


1 changed file:

- app/views/tasks/_add_friend_accept_details.html.erb


Changes:

=====================================
app/views/tasks/_add_friend_accept_details.html.erb
=====================================
--- 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
 %>
 <p class="friend-classify-suggestions">
   <%=_('Suggestions: %s') % task.target.suggested_friend_groups.join(', ') %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/c8dae1315f8aef656df0627cdf155580d931f9aa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160506/44bc2734/attachment.html>


More information about the Noosfero-dev mailing list