2018-11-08 19:23:39 +05:30
|
|
|
= 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
|
2014-09-02 18:07:02 +05:30
|
|
|
|
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
|
2018-12-13 13:39:08 +05:30
|
|
|
= render 'shared/allow_request_access', form: f, bold_label: true
|
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
|
2015-04-26 12:48:37 +05:30
|
|
|
.alert.alert-info
|
|
|
|
= render 'shared/group_tips'
|
2014-09-02 18:07:02 +05:30
|
|
|
.form-actions
|
2018-12-05 23:21:45 +05:30
|
|
|
= f.submit _('Create group'), class: "btn btn-success"
|
2018-11-18 11:00:15 +05:30
|
|
|
= link_to _('Cancel'), admin_groups_path, class: "btn btn-cancel"
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
- else
|
|
|
|
.form-actions
|
2018-12-05 23:21:45 +05:30
|
|
|
= f.submit _('Save changes'), class: "btn btn-success"
|
2018-11-18 11:00:15 +05:30
|
|
|
= link_to _('Cancel'), admin_group_path(@group), class: "btn btn-cancel"
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
= render_if_exists 'ldap_group_links/ldap_syncrhonizations', group: @group
|