8000 [#10022] fix a minor typo · symfony/symfony-docs@640e8e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 640e8e5

Browse files
committed
[#10022] fix a minor typo
1 parent dc6ba1a commit 640e8e5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

reference/forms/twig_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ This test will check if the current ``form`` does not have a parent form view.
227227
.. code-block:: twig
228228
229229
{# 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' #}
230+
a parent form view and a form defining a nested form field called 'parent' #}
231231
232232
{% if form.parent is null %}
233233
{{ form_errors(form) }}

reference/twig_reference.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ rootform
756756
.. code-block:: twig
757757
758758
{% if form is rootform %}
759+
{# ... #}
760+
{% endif %}
759761
760762
``form``
761763
**type**: ``FormView``

0 commit comments

Comments
 (0)
0