mirror of
https://github.com/Yubico/yubiadmin.git
synced 2024-12-01 16:24:13 +01:00
Error display.
This commit is contained in:
parent
552712e5d3
commit
1f86ef89f6
@ -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>
|
||||
|
||||
{%- endfor -%}
|
||||
{% endif %}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user