We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent826197b commit4b5a44aCopy full SHA for 4b5a44a
reference/forms/types/repeated.rst
@@ -79,6 +79,7 @@ To render each field individually, use something like this:
79
80
..code-block::jinja
81
82
+ {# .first and .second may vary in your use - see the note below #}
83
{{ form_row(form.password.first) }}
84
{{ form_row(form.password.second) }}
85
@@ -89,8 +90,10 @@ To render each field individually, use something like this:
89
90
91
..note::
92
- The sub-field names are ``first`` and ``second`` by default, but can
93
- be controlled via the `first_name`_ and `second_name`_ options.
+ The names ``first`` and ``second`` are the default names for the two
94
+ sub-fields. However, these names can be controlled via the `first_name`_
95
+ and `second_name`_ options. If you've set these options, then use those
96
+ values instead of ``first`` and ``second`` when rendering.
97
98
Validation
99
~~~~~~~~~~