new.html.haml 560 Bytes
Newer Older
Douwe Maan's avatar
Douwe Maan committed
1
- page_title "Import repository"
2
%h3.page-title
3
  Import repository
4
5
6

%hr

7
- if @project.import_failed?
Douwe Maan's avatar
Douwe Maan committed
8
9
10
11
12
  .panel.panel-danger
    .panel-heading The repository could not be imported.
    .panel-body
      %pre
        :preserve
13
          #{sanitize_repo_path(@project, @project.import_error)}
14

Vinnie Okada's avatar
Vinnie Okada committed
15
= form_for @project, url: namespace_project_import_path(@project.namespace, @project), method: :post, html: { class: 'form-horizontal' } do |f|
Douwe Maan's avatar
Douwe Maan committed
16
17
  = render "shared/import_form", f: f

18
19
  .form-actions
    = f.submit 'Start import', class: "btn btn-create", tabindex: 4