2014-01-05 15:12:03 -05:00
|
|
|
= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal users-group-form' } do |f|
|
2014-01-04 12:26:12 -05:00
|
|
|
.form-group
|
|
|
|
= f.label :user_ids, "People", class: 'control-label'
|
|
|
|
.col-sm-10= users_select_tag(:user_ids, multiple: true, class: 'input-large')
|
2012-12-25 17:52:49 -05:00
|
|
|
|
2014-01-04 12:26:12 -05:00
|
|
|
.form-group
|
|
|
|
= f.label :group_access, "Group Access", class: 'control-label'
|
2014-01-11 05:11:54 -05:00
|
|
|
.col-sm-10= select_tag :group_access, options_for_select(UsersGroup.group_access_roles, @users_group.group_access), class: "project-access-select select2"
|
2012-12-25 17:52:49 -05:00
|
|
|
|
2014-01-04 12:26:12 -05:00
|
|
|
.form-actions
|
|
|
|
= f.submit 'Add users into group', class: "btn btn-create"
|