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

26 lines
1.1 KiB
Text
Raw Normal View History

2018-12-13 13:39:08 +05:30
- @hide_breadcrumbs = true
2017-09-10 17:25:29 +05:30
- @hide_top_links = true
2018-12-13 13:39:08 +05:30
- page_title _('New Group')
- header_title _("Groups"), dashboard_groups_path
2021-09-04 01:27:46 +05:30
- add_page_specific_style 'page_bundles/new_namespace'
2015-12-23 02:04:40 +05:30
2023-05-27 22:25:52 +05:30
.group-edit-container
2015-12-23 02:04:40 +05:30
2023-05-27 22:25:52 +05:30
.js-new-group-creation{ data: { has_errors: @group.errors.any?.to_s, groups_url: dashboard_groups_url }.merge(subgroup_creation_data(@group),
2022-08-27 11:52:29 +05:30
verification_for_group_creation_data) }
2014-09-02 18:07:02 +05:30
2021-09-04 01:27:46 +05:30
.row{ 'v-cloak': true }
#create-group-pane.tab-pane
2022-07-23 23:45:48 +05:30
= gitlab_ui_form_for @group, html: { class: 'group-form gl-show-field-errors gl-mt-3' } do |f|
2021-09-04 01:27:46 +05:30
= render 'new_group_fields', f: f, group_name_id: 'create-group-name'
2016-06-02 11:05:42 +05:30
2021-09-04 01:27:46 +05:30
#import-group-pane.tab-pane
- if import_sources_enabled?
2023-03-17 16:20:25 +05:30
= render 'import_group_from_another_instance_panel'
.gl-mt-7.gl-border-b-solid.gl-border-gray-100.gl-border-1
2021-09-04 01:27:46 +05:30
= 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.')