_new_group_member.html.haml 600 Bytes
Newer Older
1
= form_for @users_group, url: group_group_members_path(@group), html: { class: 'form-horizontal users-group-form' } do |f|
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
2
3
4
  .form-group
    = f.label :user_ids, "People", class: 'control-label'
    .col-sm-10= users_select_tag(:user_ids, multiple: true, class: 'input-large')
5

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
6
  .form-group
7
8
    = f.label :access_level, "Group Access", class: 'control-label'
    .col-sm-10= select_tag :access_level, options_for_select(GroupMember.access_level_roles, @users_group.access_level), class: "project-access-select select2"
9

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10
11
  .form-actions
    = f.submit 'Add users into group', class: "btn btn-create"