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 0ec119b commit c330965Copy full SHA for c330965
src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_layout.html.twig
@@ -173,7 +173,7 @@
173
174
{% block form_errors -%}
175
{%- if errors|length > 0 -%}
176
- <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 %}">
177
<ul class="list-unstyled mb-0">
178
{%- for error in errors -%}
179
<li>{{ error.message }}</li>
0 commit comments