gitlab-org--gitlab-foss/app/views/import/manifest/_form.html.haml

23 lines
870 B
Text
Raw Normal View History

= form_tag upload_import_manifest_path, multipart: true do
.form-group
= label_tag :manifest, class: 'label-light' do
Manifest
= file_field_tag :manifest, class: 'form-control-file', required: true
.form-text.text-muted
Import multiple repositories by uploading a manifest file.
.form-group
= label_tag :group_id, nil, class: 'label-light' do
Namespace
.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), { class: 'select2 js-select-namespace' }
.form-text.text-muted
Choose the top-level namespace for your repository imports.
.append-bottom-10
= submit_tag 'Import projects', class: 'btn btn-success'
= link_to 'Cancel', new_project_path, class: 'btn btn-cancel'