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