1 2 3 4 5 6 7 8 9 10 11
|
- form = local_assigns.fetch(:form)
.form-group
= label_tag _('User restrictions')
= render_if_exists 'admin/application_settings/updating_name_disabled_for_users', form: form
- if Feature.enabled?(:ui_for_organizations, current_user)
= form.gitlab_ui_checkbox_component :can_create_organization, _("Allow users to create organizations")
= form.gitlab_ui_checkbox_component :can_create_group, _("Allow new users to create top-level groups")
= render_if_exists 'admin/application_settings/private_profile_restrictions', form: form
= render_if_exists 'admin/application_settings/allow_account_deletion', form: form
= form.gitlab_ui_checkbox_component :allow_project_creation_for_guest_and_below, _("Allow users with up to Guest role to create groups and personal projects")
|