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 edf6e32 commit 7206ab2Copy full SHA for 7206ab2
reference/forms/twig_reference.rst
@@ -209,7 +209,7 @@ This test will check if the current ``form`` does not have a parent form view.
209
.. code-block:: twig
210
211
{# DON'T DO THIS: this simple check can't differentiate between a form having
212
- a parent form view and a form defining a normal form field called 'parent' #}
+ a parent form view and a form defining a nested form field called 'parent' #}
213
214
{% if form.parent is null %}
215
{{ form_errors(form) }}
reference/twig_reference.rst
@@ -741,6 +741,8 @@ rootform
741
742
743
{% if form is rootform %}
744
+ {# ... #}
745
+ {% endif %}
746
747
``form``
748
**type**: ``FormView``
0 commit comments