debian-mirror-gitlab/app/views/projects/imports/new.html.haml

20 lines
533 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Import repository"
2015-04-26 12:48:37 +05:30
%h3.page-title
2015-11-26 14:37:03 +05:30
Import repository
2015-04-26 12:48:37 +05:30
%hr
2015-11-26 14:37:03 +05:30
- if @project.import_failed?
.panel.panel-danger
.panel-heading The repository could not be imported.
.panel-body
%pre
:preserve
2017-08-17 22:00:37 +05:30
#{h(sanitize_repo_path(@project, @project.import_error))}
2015-11-26 14:37:03 +05:30
2017-09-10 17:25:29 +05:30
= form_for @project, url: project_import_path(@project), method: :post, html: { class: 'form-horizontal' } do |f|
2015-11-26 14:37:03 +05:30
= render "shared/import_form", f: f
2015-04-26 12:48:37 +05:30
.form-actions
= f.submit 'Start import', class: "btn btn-create", tabindex: 4