<%= user_form.hidden_field :user_id, value: :all, name:"access_permissions_new_user_form[resource_members][0][user_id]" %>
<%= user_form.check_box :assign,
name: "access_permissions_new_user_form[resource_members][0][assign]",
data: { action: 'toggle-visibility', target: 'usersAll' },
class: "sci-checkbox"
%>
<%= image_tag "icon/team.png", class: 'img-circle pull-left' %>
<%= t('user_assignment.assign_all_team_members') %>
<%= user_form.select :user_role_id,
options_for_select(user_roles_collection(assignable)),
{},
name: "access_permissions_new_user_form[resource_members][0][user_role_id]",
class: 'form-control selectpicker pull-right',
title: t('user_assignment.select_role') %>