Fix collision between view properties and form fields
This commit is contained in:
parent
0ec119be88
commit
c330965cfb
@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
{% block form_errors -%}
|
{% block form_errors -%}
|
||||||
{%- if errors|length > 0 -%}
|
{%- if errors|length > 0 -%}
|
||||||
<div class="{% if form.parent %}invalid-feedback{% else %}alert alert-danger{% endif %}">
|
<div class="{% if form is not rootform %}invalid-feedback{% else %}alert alert-danger{% endif %}">
|
||||||
<ul class="list-unstyled mb-0">
|
<ul class="list-unstyled mb-0">
|
||||||
{%- for error in errors -%}
|
{%- for error in errors -%}
|
||||||
<li>{{ error.message }}</li>
|
<li>{{ error.message }}</li>
|
||||||
|
Reference in New Issue
Block a user