mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
17 lines
497 B
HTML
17 lines
497 B
HTML
{% load nice_errors from filters %}
|
|
{% if form.errors %}
|
|
<div class="alert alert-danger alert-dismissable">
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
<dl>
|
|
{% with form|nice_errors as qq %}
|
|
{% for error_name,desc in qq.items %}
|
|
<span class="row">
|
|
<dt class="col-4">{{error_name}}</dt>
|
|
<dd class="col-8">{{desc}}</dd>
|
|
</span>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
</dl>
|
|
</div>
|
|
{% endif %}
|