Fix styling of import error.
This commit is contained in:
parent
91fdbdcde7
commit
5036d8d5d5
|
@ -172,7 +172,7 @@
|
|||
}
|
||||
|
||||
.panel-body {
|
||||
form {
|
||||
form, pre {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue