Skip to content

Commit fc0623e

Browse files
committed
minor #10956 Explicitly list _field-name_entry_parts (welcoMattic)
This PR was merged into the 4.2 branch. Discussion ---------- Explicitly list _field-name_entry_parts <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- ea25ab7 Explicitly list _field-name_entry_parts
2 parents f0bd726 + ea25ab7 commit fc0623e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/form_themes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Fragment Naming for Collections
283283
When using a :doc:`collection of forms </form/form_collections>`, the fragment
284284
of each collection item follows the pattern ``_field-name_entry_part``. For
285285
example, if your form field is named ``tasks``, the fragment for each task will
286-
be named ``_tasks_entry`` (``_tasks_entry_label``, ``_tasks_entry_label``, etc.)
286+
be named ``_tasks_entry`` (``_tasks_entry_row``, ``_tasks_entry_label``, ``_tasks_entry_widget``, ``_tasks_entry_error``)
287287

288288
Template Fragment Inheritance
289289
.............................

0 commit comments

Comments
 (0)