gitlab-org--gitlab-foss/app/views/projects/imports/new.html.haml

20 lines
497 B
Plaintext
Raw Normal View History

2015-04-30 13:06:18 -04:00
- 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
2015-11-12 06:45:49 -05:00
%pre
:preserve
#{h(@project.import_state.last_error)}
= form_for @project, url: project_import_path(@project), method: :post do |f|
2015-11-11 10:26:12 -05:00
= render "shared/import_form", f: f
.form-actions
= f.submit 'Start import', class: "btn btn-success", tabindex: 4