2018-10-06 10:21:38 -04:00
|
|
|
- @hide_breadcrumbs = true
|
2017-07-06 12:24:03 -04:00
|
|
|
- @hide_top_links = true
|
2018-10-30 12:23:47 -04:00
|
|
|
- page_title _('New Group')
|
|
|
|
- header_title _("Groups"), dashboard_groups_path
|
2021-05-26 20:10:40 -04:00
|
|
|
- add_page_specific_style 'page_bundles/new_namespace'
|
2015-12-02 08:27:29 -05:00
|
|
|
|
2021-05-26 20:10:40 -04:00
|
|
|
.group-edit-container.gl-mt-5
|
2015-12-02 08:27:29 -05:00
|
|
|
|
2022-07-27 08:10:44 -04:00
|
|
|
.js-new-group-creation{ data: { has_errors: @group.errors.any?.to_s }.merge(subgroup_creation_data(@group),
|
|
|
|
verification_for_group_creation_data) }
|
2013-02-19 14:02:25 -05:00
|
|
|
|
2021-05-26 20:10:40 -04:00
|
|
|
.row{ 'v-cloak': true }
|
|
|
|
#create-group-pane.tab-pane
|
2022-05-23 08:08:41 -04:00
|
|
|
= gitlab_ui_form_for @group, html: { class: 'group-form gl-show-field-errors gl-mt-3' } do |f|
|
2021-05-26 20:10:40 -04:00
|
|
|
= render 'new_group_fields', f: f, group_name_id: 'create-group-name'
|
2016-03-01 10:22:29 -05:00
|
|
|
|
2021-05-26 20:10:40 -04:00
|
|
|
#import-group-pane.tab-pane
|
|
|
|
- if import_sources_enabled?
|
2022-05-06 11:09:03 -04:00
|
|
|
- if Feature.enabled?(:bulk_import)
|
2021-05-26 20:10:40 -04:00
|
|
|
= render 'import_group_from_another_instance_panel'
|
|
|
|
.gl-mt-7.gl-border-b-solid.gl-border-gray-100.gl-border-1
|
|
|
|
= render 'import_group_from_file_panel'
|
|
|
|
- else
|
|
|
|
.nothing-here-block
|
|
|
|
%h4= s_('GroupsNew|No import options available')
|
|
|
|
%p= s_('GroupsNew|Contact an administrator to enable options for importing your group.')
|