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

20 lines
560 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
2016-08-24 12:49:21 +05:30
#{sanitize_repo_path(@project, @project.import_error)}
2015-11-26 14:37:03 +05:30
2015-04-26 12:48:37 +05:30
= form_for @project, url: namespace_project_import_path(@project.namespace, @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