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 dc6ba1a commit 640e8e5Copy full SHA for 640e8e5
reference/forms/twig_reference.rst
@@ -227,7 +227,7 @@ This test will check if the current ``form`` does not have a parent form view.
227
.. code-block:: twig
228
229
{# DON'T DO THIS: this simple check can't differentiate between a form having
230
- 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' #}
231
232
{% if form.parent is null %}
233
{{ form_errors(form) }}
reference/twig_reference.rst
@@ -756,6 +756,8 @@ rootform
756
757
758
{% if form is rootform %}
759
+ {# ... #}
760
+ {% endif %}
761
762
``form``
763
**type**: ``FormView``
0 commit comments