2018-11-18 11:00:15 +05:30
|
|
|
= form_tag upload_import_manifest_path, multipart: true do
|
|
|
|
.form-group
|
|
|
|
= label_tag :group_id, nil, class: 'label-bold' do
|
|
|
|
= _('Group')
|
|
|
|
.input-group
|
|
|
|
.input-group-prepend.has-tooltip{ title: root_url }
|
|
|
|
.input-group-text
|
|
|
|
= root_url
|
|
|
|
= select_tag :group_id, namespaces_options(nil, display_path: true, groups_only: true), { class: 'select2 js-select-namespace' }
|
|
|
|
.form-text.text-muted
|
|
|
|
= _('Choose the top-level group for your repository imports.')
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
= label_tag :manifest, class: 'label-bold' do
|
|
|
|
= _('Manifest')
|
2019-12-26 22:10:19 +05:30
|
|
|
= file_field_tag :manifest, class: 'form-control-file w-auto', required: true
|
2018-11-18 11:00:15 +05:30
|
|
|
.form-text.text-muted
|
|
|
|
= _('Import multiple repositories by uploading a manifest file.')
|
2020-11-24 15:15:51 +05:30
|
|
|
= link_to sprite_icon('question-o'), help_page_path('user/project/import/manifest')
|
2018-11-18 11:00:15 +05:30
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
.gl-mb-3
|
2021-02-22 17:27:13 +05:30
|
|
|
= submit_tag _('List available repositories'), class: 'gl-button btn btn-success'
|
|
|
|
= link_to _('Cancel'), new_project_path, class: 'gl-button btn btn-default btn-cancel'
|