debian-mirror-gitlab/app/views/groups/_new_group_fields.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
1.1 KiB
Text
Raw Normal View History

2022-07-23 23:45:48 +05:30
= form_errors(@group, pajamas_alert: true)
2020-06-23 00:09:42 +05:30
= render 'shared/group_form', f: f, autofocus: true
.row
2022-08-13 15:12:31 +05:30
.form-group.gl-form-group.col-sm-12
2020-06-23 00:09:42 +05:30
%label.label-bold
= _('Visibility level')
%p
= _('Who will be able to see this group?')
2022-08-13 15:12:31 +05:30
= link_to _('View the documentation'), help_page_path("user/public_access"), target: '_blank', rel: 'noopener noreferrer'
2020-06-23 00:09:42 +05:30
= render 'shared/visibility_level', f: f, visibility_level: default_group_visibility, can_change_visibility_level: true, form_model: @group, with_label: false
2021-02-22 17:27:13 +05:30
- if Gitlab.config.mattermost.enabled
.row
= render 'create_chat_team', f: f
2021-11-11 11:23:49 +05:30
2022-03-02 08:16:31 +05:30
- unless Gitlab::CurrentSettings.current_application_settings.hide_third_party_offers?
= render 'personalize', f: f
2021-11-11 11:23:49 +05:30
.row.js-invite-members-section
2021-02-22 17:27:13 +05:30
.col-sm-4
= render_if_exists 'shared/groups/invite_members'
2021-04-29 21:17:54 +05:30
- if captcha_required?
.row.recaptcha
.col-sm-4
2021-06-08 01:23:25 +05:30
= recaptcha_tags nonce: content_security_policy_nonce
2021-02-22 17:27:13 +05:30
.row
2021-09-04 01:27:46 +05:30
.col-sm-12
2021-04-17 20:07:23 +05:30
= f.submit _('Create group'), class: "btn gl-button btn-confirm"
2021-03-11 19:13:27 +05:30
= link_to _('Cancel'), dashboard_groups_path, class: 'btn gl-button btn-default btn-cancel'