2018-10-06 14:21:38 +00:00
|
|
|
- @hide_breadcrumbs = true
|
2017-07-06 16:24:03 +00:00
|
|
|
- @hide_top_links = true
|
2018-10-30 16:23:47 +00:00
|
|
|
- page_title _('New Group')
|
|
|
|
- header_title _("Groups"), dashboard_groups_path
|
2021-05-27 00:10:40 +00:00
|
|
|
- add_page_specific_style 'page_bundles/new_namespace'
|
2015-12-02 13:27:29 +00:00
|
|
|
|
2021-05-27 00:10:40 +00:00
|
|
|
.group-edit-container.gl-mt-5
|
2015-12-02 13:27:29 +00:00
|
|
|
|
2021-05-27 00:10:40 +00:00
|
|
|
.js-new-group-creation{ data: { has_errors: @group.errors.any?.to_s } }
|
2013-02-19 19:02:25 +00:00
|
|
|
|
2021-05-27 00:10:40 +00:00
|
|
|
.row{ 'v-cloak': true }
|
|
|
|
#create-group-pane.tab-pane
|
2021-11-03 00:13:30 +00:00
|
|
|
= form_for @group, html: { class: 'group-form gl-show-field-errors gl-mt-3' } do |f|
|
2021-05-27 00:10:40 +00:00
|
|
|
= render 'new_group_fields', f: f, group_name_id: 'create-group-name'
|
2016-03-01 15:22:29 +00:00
|
|
|
|
2021-05-27 00:10:40 +00:00
|
|
|
#import-group-pane.tab-pane
|
|
|
|
- if import_sources_enabled?
|
2021-08-31 12:11:07 +00:00
|
|
|
- if Feature.enabled?(:bulk_import, default_enabled: :yaml)
|
2021-05-27 00:10:40 +00: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.')
|