2018-07-02 05:16:24 -04:00
|
|
|
= form_tag upload_import_manifest_path, multipart: true do
|
|
|
|
.form-group
|
2018-07-19 18:11:31 -04:00
|
|
|
= label_tag :group_id, nil, class: 'label-bold' do
|
2018-07-05 07:34:57 -04:00
|
|
|
= _('Group')
|
2018-07-02 05:16:24 -04:00
|
|
|
.input-group
|
|
|
|
.input-group-prepend.has-tooltip{ title: root_url }
|
|
|
|
.input-group-text
|
|
|
|
= root_url
|
2018-07-05 07:34:57 -04:00
|
|
|
= select_tag :group_id, namespaces_options(nil, display_path: true, groups_only: true), { class: 'select2 js-select-namespace' }
|
2018-07-02 05:16:24 -04:00
|
|
|
.form-text.text-muted
|
2018-07-05 07:34:57 -04:00
|
|
|
= _('Choose the top-level group for your repository imports.')
|
2018-07-02 05:16:24 -04:00
|
|
|
|
2018-07-09 07:59:07 -04:00
|
|
|
.form-group
|
2018-07-19 18:11:31 -04:00
|
|
|
= label_tag :manifest, class: 'label-bold' do
|
2018-07-09 07:59:07 -04:00
|
|
|
= _('Manifest')
|
2019-11-07 13:06:21 -05:00
|
|
|
= file_field_tag :manifest, class: 'form-control-file w-auto', required: true
|
2018-07-09 07:59:07 -04:00
|
|
|
.form-text.text-muted
|
|
|
|
= _('Import multiple repositories by uploading a manifest file.')
|
2020-09-11 14:08:42 -04:00
|
|
|
= link_to sprite_icon('question-o'), help_page_path('user/project/import/manifest')
|
2018-07-09 07:59:07 -04:00
|
|
|
|
2020-07-23 20:09:34 -04:00
|
|
|
.gl-mb-3
|
2018-07-09 06:12:37 -04:00
|
|
|
= submit_tag _('List available repositories'), class: 'btn btn-success'
|
|
|
|
= link_to _('Cancel'), new_project_path, class: 'btn btn-cancel'
|