Commit 19e0d36e authored by Michael Kozono's avatar Michael Kozono

Move share lock setting and tweak UI

parent 0a8083c4
...@@ -28,17 +28,20 @@ ...@@ -28,17 +28,20 @@
.col-sm-offset-2.col-sm-10 .col-sm-offset-2.col-sm-10
= render 'shared/allow_request_access', form: f = render 'shared/allow_request_access', form: f
= render 'group_admin_settings', f: f
.form-group .form-group
%hr = f.label :share_with_group_lock, 'Share lock', class: 'control-label'
= f.label :share_with_group_lock, class: 'control-label' do
Share with group lock
.col-sm-10 .col-sm-10
.checkbox .checkbox
= f.check_box :share_with_group_lock = f.label :share_with_group_lock do
%span.descr Prevent sharing a project with another group within this group = f.check_box :share_with_group_lock
%strong
Prevent sharing a project within
= @group.name
with other groups
%br/
%span.descr This setting will be applied to all subgroups unless overridden by a group owner
= render 'group_admin_settings', f: f
.form-actions .form-actions
= f.submit 'Save group', class: "btn btn-save" = f.submit 'Save group', class: "btn btn-save"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment