diff options
Diffstat (limited to 'app/views/groups/group_members/_new_group_member.html.haml')
-rw-r--r-- | app/views/groups/group_members/_new_group_member.html.haml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/groups/group_members/_new_group_member.html.haml b/app/views/groups/group_members/_new_group_member.html.haml new file mode 100644 index 00000000000..c4c29bb2e8d --- /dev/null +++ b/app/views/groups/group_members/_new_group_member.html.haml @@ -0,0 +1,15 @@ += form_for @group_member, url: group_group_members_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 :access_level, "Group Access", class: 'control-label' + .col-sm-10 + = select_tag :access_level, options_for_select(GroupMember.access_level_roles, @group_member.access_level), class: "project-access-select select2" + .help-block + Read more about role permissions + %strong= link_to "here", help_page_path("permissions", "permissions"), class: "vlink" + + .form-actions + = f.submit 'Add users to group', class: "btn btn-create" |