BigW Consortium Gitlab

new.html.haml 542 Bytes
- page_title "Import repository"
%h3.page-title
  Import repository

%hr

- if @project.import_failed?
  .panel.panel-danger
    .panel-heading The repository could not be imported.
    .panel-body
      %pre
        :preserve
          #{@project.import_error.try(:strip)}

= form_for @project, url: namespace_project_import_path(@project.namespace, @project), method: :post, html: { class: 'form-horizontal' } do |f|
  = render "shared/import_form", f: f

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