Skip to content

Commit bf83ee8

Browse files
fixs
1 parent a828cb9 commit bf83ee8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/forms/types/options/form_attr.rst.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
**type**: ``boolean`` or ``string`` **default**: ``false``
55

6-
When ``true`` and used on a form element, it adds a `"form" attribute`_. to its HTML field representation with
7-
its HTML form id. By doing this, form element can be rendered outside HTML form while still working as expected::
6+
When ``true`` and used on a form element, it adds a `"form" attribute`_ to its HTML field representation with
7+
its HTML form id. By doing this, a form element can be rendered outside the HTML form while still working as expected::
88

99
$builder->add('body', TextareaType::class, [
1010
'form_attr' => true,
@@ -15,7 +15,7 @@ You can also set this to ``true`` on a root form to automatically set the "form"
1515

1616
.. note::
1717

18-
When root form has no ID, ``form_attr`` required to be a string identifier to be used as form ID.
18+
When root the form has no ID, ``form_attr`` is required to be a string identifier to be used as the form ID.
1919

2020
.. caution::
2121

0 commit comments

Comments
 (0)