mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
16 lines
448 B
HTML
16 lines
448 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 class="dl-horizontal">
|
|
{% with form|nice_errors as qq %}
|
|
{% for error_name,desc in qq.items %}
|
|
<span>
|
|
<dt>{{error_name}}</dt>
|
|
<dd>{{desc}}</dd>
|
|
</span>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
</dl>
|
|
</div>
|
|
{% endif %} |