1
0
mirror of https://github.com/Yubico/yubiadmin.git synced 2024-12-01 16:24:13 +01:00

Error display.

This commit is contained in:
Dain Nilsson 2013-04-26 17:29:26 +02:00
parent 552712e5d3
commit 1f86ef89f6

View File

@ -13,11 +13,10 @@
{%- macro form_field_errors(field) -%}
{% if field.errors %}
<div>
{%- for error in field.errors -%}
<span class="label important">{{ error }}</span>
{%- endfor -%}
</div>
{%- for error in field.errors -%}
<span class="label label-important">{{ error }}</span>
&nbsp;
{%- endfor -%}
{% endif %}
{%- endmacro -%}