Fix styling of import error.

This commit is contained in:
Douwe Maan 2015-11-12 12:45:49 +01:00
parent 91fdbdcde7
commit 5036d8d5d5
2 changed files with 7 additions and 6 deletions

View File

@ -172,7 +172,7 @@
}
.panel-body {
form {
form, pre {
margin: 0;
}

View File

@ -5,11 +5,12 @@
%hr
- if @project.import_failed?
.alert.alert-danger
%p The repository could not be imported.
%pre.prepend-top-10
:preserve
#{@project.import_error.try(:strip)}
.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