blob: 3ab9276c541ea55bb4fd3ad791157e326d6b1ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal users-group-form' } do |f|
.form-group
= f.label :user_ids, "People", class: 'control-label'
.col-sm-10= users_select_tag(:user_ids, multiple: true, class: 'input-large')
.form-group
= f.label :group_access, "Group Access", class: 'control-label'
.col-sm-10= select_tag :group_access, options_for_select(UsersGroup.group_access_roles, @users_group.group_access), class: "project-access-select select2"
.form-actions
= f.submit 'Add users into group', class: "btn btn-create"
|