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