2021-10-27 15:23:28 +05:30
|
|
|
= gitlab_ui_form_for [:admin, @group] do |f|
|
2016-06-02 11:05:42 +05:30
|
|
|
= form_errors(@group)
|
2015-04-26 12:48:37 +05:30
|
|
|
= render 'shared/group_form', f: f
|
2021-02-22 17:27:13 +05:30
|
|
|
= render 'shared/group_form_description', f: f
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2021-04-29 21:17:54 +05:30
|
|
|
= render 'shared/admin/admin_note_form', f: f
|
|
|
|
|
2019-09-04 21:01:54 +05:30
|
|
|
= render_if_exists 'shared/old_repository_size_limit_setting', form: f, type: :group
|
2018-11-08 19:23:39 +05:30
|
|
|
= render_if_exists 'admin/namespace_plan', f: f
|
|
|
|
|
|
|
|
.form-group.row.group-description-holder
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-2.col-form-label
|
|
|
|
= f.label :avatar, _("Group avatar")
|
2014-09-02 18:07:02 +05:30
|
|
|
.col-sm-10
|
2019-07-07 11:18:12 +05:30
|
|
|
= render 'shared/choose_avatar_button', f: f
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
= render 'shared/old_visibility_level', f: f, visibility_level: visibility_level, can_change_visibility_level: can_change_group_visibility_level?(@group), form_model: @group, with_label: false
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-group.row
|
|
|
|
.offset-sm-2.col-sm-10
|
2022-06-21 17:19:12 +05:30
|
|
|
= render 'shared/allow_request_access', form: f
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'groups/group_admin_settings', f: f
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
= render_if_exists 'namespaces/shared_runners_minutes_settings', group: @group, form: f
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
- if @group.new_record?
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-group.row
|
|
|
|
.offset-sm-2.col-sm-10
|
2022-06-21 17:19:12 +05:30
|
|
|
= render Pajamas::AlertComponent.new(dismissible: false) do
|
2022-05-07 20:08:51 +05:30
|
|
|
.gl-alert-body
|
|
|
|
= render 'shared/group_tips'
|
2014-09-02 18:07:02 +05:30
|
|
|
.form-actions
|
2021-04-17 20:07:23 +05:30
|
|
|
= f.submit _('Create group'), class: "gl-button btn btn-confirm"
|
2021-03-11 19:13:27 +05:30
|
|
|
= link_to _('Cancel'), admin_groups_path, class: "gl-button btn btn-default btn-cancel"
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
- else
|
|
|
|
.form-actions
|
2021-04-17 20:07:23 +05:30
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm", data: { qa_selector: 'save_changes_button' }
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to _('Cancel'), admin_group_path(@group), class: "gl-button btn btn-cancel"
|