mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 08:52:15 +00:00
Fix errors being squashed
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -96,6 +96,10 @@ ins {
|
|||||||
transform: translateY(45px); /* TODO Remove absolute positioning */
|
transform: translateY(45px); /* TODO Remove absolute positioning */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.errorlist > li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<div class="alert alert-danger alert-dismissable">
|
<div class="alert alert-danger alert-dismissable">
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||||
<dl class="row">
|
<dl>
|
||||||
{% with form|nice_errors as qq %}
|
{% with form|nice_errors as qq %}
|
||||||
{% for error_name,desc in qq.items %}
|
{% for error_name,desc in qq.items %}
|
||||||
<span>
|
<span class="row">
|
||||||
<dt class="col-4">{{error_name}}</dt>
|
<dt class="col-4">{{error_name}}</dt>
|
||||||
<dd class="col-8">{{desc}}</dd>
|
<dd class="col-8">{{desc}}</dd>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user