gitlab-org--gitlab-foss/app/views/projects/imports/new.html.haml
Tiago Botelho 4bd8a427d4
Removes all the irrelevant import related code and columns
Clears the import related columns and code from the Project
model over to the ProjectImportState model
2018-11-27 12:58:13 +00:00

19 lines
497 B
Text

- page_title "Import repository"
%h3.page-title
Import repository
%hr
- if @project.import_failed?
.card.border-danger
.card-header.bg-danger.text-white The repository could not be imported.
.card-body
%pre
:preserve
#{h(@project.import_state.last_error)}
= form_for @project, url: project_import_path(@project), method: :post do |f|
= render "shared/import_form", f: f
.form-actions
= f.submit 'Start import', class: "btn btn-success", tabindex: 4