summaryrefslogtreecommitdiff
path: root/app/views/groups/edit.html.haml
diff options
context:
space:
mode:
authorBaldinof <baldinof@gmail.com>2016-03-14 21:51:06 +0100
committerBaldinof <baldinof@gmail.com>2016-03-14 21:51:06 +0100
commit436caf4e8b7beb8cb61bb1045273488477841880 (patch)
tree99e0793f063507d05f71d901cb94955afcfe1660 /app/views/groups/edit.html.haml
parente8c723543cfc4c1d905a5794a2da1bef7689d784 (diff)
parentca3fc2296f13f8dc7c89c4361b448ed46708cab7 (diff)
downloadgitlab-ce-436caf4e8b7beb8cb61bb1045273488477841880.tar.gz
Merge branch 'master' into fix_remove_fork_link
Diffstat (limited to 'app/views/groups/edit.html.haml')
-rw-r--r--app/views/groups/edit.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index 3430f56a9c9..83936d39b16 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -23,6 +23,15 @@
%hr
= link_to 'Remove avatar', group_avatar_path(@group.to_param), data: { confirm: "Group avatar will be removed. Are you sure?"}, method: :delete, class: "btn btn-remove btn-sm remove-avatar"
+ .form-group
+ %hr
+ = f.label :share_with_group_lock, class: 'control-label' do
+ Share with group lock
+ .col-sm-10
+ .checkbox
+ = f.check_box :share_with_group_lock
+ %span.descr Prevent sharing a project with another group within this group
+
.form-actions
= f.submit 'Save group', class: "btn btn-save"