Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 640e8e5

Browse filesBrowse files
committed
[#10022] fix a minor typo
1 parent dc6ba1a commit 640e8e5
Copy full SHA for 640e8e5

File tree

2 files changed

+3
-1
lines changed
Filter options

2 files changed

+3
-1
lines changed

‎reference/forms/twig_reference.rst

Copy file name to clipboardExpand all lines: reference/forms/twig_reference.rst
+1-1Lines 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

Copy file name to clipboardExpand all lines: reference/twig_reference.rst
+2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.