23 lines
891 B
Text
23 lines
891 B
Text
|
= form_errors(@group)
|
||
|
= render 'shared/group_form', f: f, autofocus: true
|
||
|
|
||
|
.row
|
||
|
.form-group.group-description-holder.col-sm-12
|
||
|
= f.label :avatar, _("Group avatar"), class: 'label-bold'
|
||
|
%div
|
||
|
= render 'shared/choose_avatar_button', f: f
|
||
|
|
||
|
.form-group.col-sm-12
|
||
|
%label.label-bold
|
||
|
= _('Visibility level')
|
||
|
%p
|
||
|
= _('Who will be able to see this group?')
|
||
|
= link_to _('View the documentation'), help_page_path("public_access/public_access"), target: '_blank'
|
||
|
= render 'shared/visibility_level', f: f, visibility_level: default_group_visibility, can_change_visibility_level: true, form_model: @group, with_label: false
|
||
|
|
||
|
= render 'create_chat_team', f: f if Gitlab.config.mattermost.enabled
|
||
|
|
||
|
.form-actions.col-sm-12
|
||
|
= f.submit _('Create group'), class: "btn btn-success"
|
||
|
= link_to _('Cancel'), dashboard_groups_path, class: 'btn btn-cancel'
|