ref: master
app/views/profile_roles/assign.html.erb
<%= javascript_include_tag('assign_role.js') %><%= _("Assign %s") % @role.name %>
<%= labelled_form_for :role, :url => { :action => 'define', :id => @role.id } do |f| %><%= _("Assign role by:") %>
<%= labelled_radio_button _("Members"), :assign_role_by, "members", true, :id => "assign_role_by_members", :class => "assign_role_by" %> <%= labelled_radio_button _("Roles"), :assign_role_by, "roles", false, :id => "assign_role_by_roles", :class => "assign_role_by" %>
<%=token_input_field_tag(:person_id, 'search-profile-members', {:action => 'assign_role_by_members'}, {:focus => false, :hint_text => _('Select members to assign the role')}) %> <%= button_bar do %> <%= submit_button(:forward, _("Confirm")) %> <% end %><% end %>