admin: fix form error display
This commit is contained in:
parent
111b0ec4fb
commit
4111ca96a7
|
@ -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 %}
|
||||
|
|
Reference in New Issue