admin: fix form error display

This commit is contained in:
Jens Langhammer 2018-12-10 15:27:01 +01:00
parent 111b0ec4fb
commit 4111ca96a7
1 changed files with 7 additions and 15 deletions

View File

@ -39,22 +39,14 @@
{{ field.help_text }}
</span>
{% endif %}
</div>
{% endif %}
{% for error in field.errors %}
{{error }}
<hr>
<div class="alert alert-danger">
<div class="alert-items">
<div class="alert-item">
<div class="alert-icon-wrapper">
<clr-icon class="alert-icon" shape="exclamation-circle"></clr-icon>
</div>
<span class="alert-text">
{{ error }}
</span>
</div>
</div>
<span class="pficon pficon-error-circle-o"></span>
<strong>{{ error }}</strong>
</div>
{% endfor %}
</div>
{% endif %}
</div>
{% endfor %}