Skip to content

Commit 17b01d0

Browse files
advancinguweaverryan
authored andcommitted
Improved note formatting.
1 parent edca4da commit 17b01d0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

reference/forms/twig_reference.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ or collection of fields, each underlying form row will be rendered.
4949
The second argument to ``form_widget`` is an array of variables. The most
5050
common variable is ``attr``, which is an array of HTML attributes to apply
5151
to the HTML widget. In some cases, certain types also have other template-related
52-
options that can be passed. These are discussed on a type-by-type basis. Note
53-
that in case the first argument is a form, all ``variables`` will
54-
only be applied to the form itself and not its children.
52+
options that can be passed. These are discussed on a type-by-type basis.
53+
54+
.. note::
55+
56+
In case the first argument is a form, all ``variables`` will
57+
only be applied to the form itself and not its children.
5558

5659
form_row(form.name, variables)
5760
------------------------------

0 commit comments

Comments
 (0)