Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « groups « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 750030601b7b8e922a4a8b68c63d58f32d8871fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- @hide_breadcrumbs = true
- @hide_top_links = true
- page_title    _('New Group')
- header_title  _("Groups"), dashboard_groups_path
- add_page_specific_style 'page_bundles/new_namespace'

.group-edit-container.gl-mt-5

  .js-new-group-creation{ data: { has_errors: @group.errors.any?.to_s }.merge(verification_for_group_creation_data) }

  .row{ 'v-cloak': true }
    #create-group-pane.tab-pane
      = form_for @group, html: { class: 'group-form gl-show-field-errors gl-mt-3' } do |f|
        = render 'new_group_fields', f: f, group_name_id: 'create-group-name'

    #import-group-pane.tab-pane
      - if import_sources_enabled?
        - if Feature.enabled?(:bulk_import, default_enabled: :yaml)
          = 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.')