Skip to content

Commit 06b48ed

Browse files
committed
[Form] Clarify the individual field customization section
1 parent 3d2b6a3 commit 06b48ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/form/twig_form_customization.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ So far, you've seen the different ways you can customize the widget output
358358
of all text field types. You can also customize individual fields. For example,
359359
suppose you have two ``text`` fields - ``first_name`` and ``last_name`` - but
360360
you only want to customize one of the fields. This can be accomplished by
361-
customizing a block whose name is a combination of the field name and which
362-
part of the field is being customized. For example:
361+
customizing a block whose name is a combination of the field id attribute and
362+
which part of the field is being customized. For example:
363363

364364
.. code-block:: html+jinja
365365

0 commit comments

Comments
 (0)