BigW Consortium Gitlab

Use render_if_exists for group settings page to keep same code as EE

parent fcdf3931
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
%span.light (optional) %span.light (optional)
= f.text_area :description, class: 'form-control', rows: 3, maxlength: 250 = f.text_area :description, class: 'form-control', rows: 3, maxlength: 250
= render_if_exists 'shared/repository_size_limit_setting', form: f, type: :group
.form-group.row .form-group.row
.col-sm-12 .col-sm-12
.avatar-container.s160 .avatar-container.s160
......
...@@ -23,4 +23,6 @@ ...@@ -23,4 +23,6 @@
= render 'group_admin_settings', f: f = render 'group_admin_settings', f: f
= render_if_exists 'member_lock_setting', f: f, group: @group
= f.submit 'Save group', class: 'btn btn-success' = f.submit 'Save group', class: 'btn btn-success'
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