summaryrefslogtreecommitdiff
path: root/app/views/groups/_invite_members_modal.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/_invite_members_modal.html.haml')
-rw-r--r--app/views/groups/_invite_members_modal.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/groups/_invite_members_modal.html.haml b/app/views/groups/_invite_members_modal.html.haml
new file mode 100644
index 00000000000..51f41d58029
--- /dev/null
+++ b/app/views/groups/_invite_members_modal.html.haml
@@ -0,0 +1,6 @@
+- if invite_members_allowed?(group)
+ .js-invite-members-modal{ data: { group_id: group.id,
+ group_name: group.name,
+ access_levels: GroupMember.access_level_roles.to_json,
+ default_access_level: Gitlab::Access::GUEST,
+ help_link: help_page_url('user/permissions') } }