Skip to content

Commit f9f9816

Browse files
Shortening the text
1 parent 95f5cc1 commit f9f9816

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

form/form_collections.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,10 @@ Then, create a form class so that a ``Tag`` object can be modified by the user::
106106
}
107107
}
108108

109-
With this, you have enough to render a tag form by itself. But since the end
110-
goal is to allow the tags of a ``Task`` to be modified right inside the task
111-
form itself, create a form for the ``Task`` class.
112-
113-
Notice that you embed a collection of ``TagType`` forms using the
114-
:doc:`CollectionType </reference/forms/types/collection>` field::
109+
Next, let's create a form for the ``Task`` entity, using a
110+
:doc:`CollectionType </reference/forms/types/collection>` field of
111+
``TagType`` forms. This will allow us to modify the ``Tag``s of a
112+
``Task`` right inside the task form itself::
115113

116114
// src/AppBundle/Form/TaskType.php
117115
namespace AppBundle\Form;

0 commit comments

Comments
 (0)