jumpserver/templates/jasset/error.html

13 lines
269 B
HTML
Raw Normal View History

2015-12-19 09:27:12 +00:00
{% for field in af_form %}
<div class="alert alert-warning text-center"> {{ field.errors }}</div>
{{ field.label_tag }}: {{ field }}
{% endfor %}
{% if af.errors %}
<ul>
{% for error in af.errors %}
<li><strong>{{ error }}</strong></li>
{% endfor %}
</ul>
{% endif %}