Move share lock setting and tweak UI

This commit is contained in:
Michael Kozono 2017-08-30 16:56:44 -07:00
parent 0a8083c4f1
commit 19e0d36eb8
1 changed files with 10 additions and 7 deletions

View File

@ -28,17 +28,20 @@
.col-sm-offset-2.col-sm-10
= render 'shared/allow_request_access', form: f
= render 'group_admin_settings', f: f
.form-group
%hr
= f.label :share_with_group_lock, class: 'control-label' do
Share with group lock
= f.label :share_with_group_lock, 'Share lock', class: 'control-label'
.col-sm-10
.checkbox
= f.check_box :share_with_group_lock
%span.descr Prevent sharing a project with another group within this group
= f.label :share_with_group_lock do
= 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
= f.submit 'Save group', class: "btn btn-save"