jumpserver/templates/jasset/error.html

13 lines
269 B
HTML
Raw Normal View History

2015-11-23 15:55:19 +00:00
{% for field in af_form %}
2015-11-03 09:07:46 +00:00
<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 %}