summaryrefslogtreecommitdiff
path: root/app/views/groups/group_members/_new_group_member.html.haml
diff options
context:
space:
mode:
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.haml22
1 files changed, 0 insertions, 22 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
deleted file mode 100644
index 93dd8f48a60..00000000000
--- a/app/views/groups/group_members/_new_group_member.html.haml
+++ /dev/null
@@ -1,22 +0,0 @@
-= form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f|
- .row
- .col-md-4.col-lg-6
- = users_select_tag(:user_ids, group_member_select_options)
- .form-text.text-muted.append-bottom-10
- Search for members by name, username, or email, or invite new ones using their email address.
-
- .col-md-3.col-lg-2
- = select_tag :access_level, options_for_select(GroupMember.access_level_roles, @group_member.access_level), class: "form-control project-access-select"
- .form-text.text-muted.append-bottom-10
- = link_to "Read more", help_page_path("user/permissions")
- about role permissions
-
- .col-md-3.col-lg-2
- .clearable-input
- = text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
- %i.clear-icon.js-clear-input
- .form-text.text-muted.append-bottom-10
- On this date, the member(s) will automatically lose access to this group and all of its projects.
-
- .col-md-2
- = f.submit 'Add to group', class: "btn btn-success btn-block", data: { qa_selector: 'add_to_group_button' }