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')
|
|
|
|
= file_field_tag :manifest, class: 'form-control-file', required: true
|
|
|
|
.form-text.text-muted
|
|
|
|
= _('Import multiple repositories by uploading a manifest file.')
|
|
|
|
= link_to icon('question-circle'), help_page_path('user/project/import/manifest')
|
|
|
|
|
2018-07-02 05:16:24 -04:00
|
|
|
.append-bottom-10
|
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'
|