Commit 5036d8d5 authored by Douwe Maan's avatar Douwe Maan

Fix styling of import error.

parent 91fdbdcd
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
} }
.panel-body { .panel-body {
form { form, pre {
margin: 0; margin: 0;
} }
......
...@@ -5,11 +5,12 @@ ...@@ -5,11 +5,12 @@
%hr %hr
- if @project.import_failed? - if @project.import_failed?
.alert.alert-danger .panel.panel-danger
%p The repository could not be imported. .panel-heading The repository could not be imported.
%pre.prepend-top-10 .panel-body
:preserve %pre
#{@project.import_error.try(:strip)} :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| = 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 = render "shared/import_form", f: f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment