8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f72e2 commit 888b48aCopy full SHA for 888b48a
src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig
@@ -318,11 +318,11 @@
318
319
{% block form_errors -%}
320
{% if errors|length > 0 -%}
321
- {% 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 %}
322
{%- for error in errors -%}
323
{{ error.message }}
324
{% if not loop.last %}, {% endif %}
325
{%- endfor -%}
326
- {% if form.parent %}</small>{% else %}</div>{% endif %}
+ {% if form is not rootform %}</small>{% else %}</div>{% endif %}
327
{%- endif %}
328
{%- endblock form_errors %}
0 commit comments