ref: master
app/views/tasks/_add_member_accept_details.html.erb
<%= content = _("Roles:")+"
" roles = Profile::Roles.organization_roles(task.target.environment.id, profile.id) roles.each do |role| content += labelled_check_box(role.name, "tasks[#{task.id}][task][roles][]", role.id, false) + "
".html_safe end content_tag('p', content.html_safe, :class => 'member-classify-suggestion').html_safe %>