Fix collision between view properties and form fields
This commit is contained in:
parent
c9f72e2807
commit
888b48a89c
@ -318,11 +318,11 @@
|
|||||||
|
|
||||||
{% block form_errors -%}
|
{% block form_errors -%}
|
||||||
{% if errors|length > 0 -%}
|
{% if errors|length > 0 -%}
|
||||||
{% if form.parent %}<small class="error">{% else %}<div data-alert class="alert-box alert">{% endif %}
|
{% if form is not rootform %}<small class="error">{% else %}<div data-alert class="alert-box alert">{% endif %}
|
||||||
{%- for error in errors -%}
|
{%- for error in errors -%}
|
||||||
{{ error.message }}
|
{{ error.message }}
|
||||||
{% if not loop.last %}, {% endif %}
|
{% if not loop.last %}, {% endif %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{% if form.parent %}</small>{% else %}</div>{% endif %}
|
{% if form is not rootform %}</small>{% else %}</div>{% endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endblock form_errors %}
|
{%- endblock form_errors %}
|
||||||
|
Reference in New Issue
Block a user