8000 minor #13442 Shortening the text (ThomasLandauer) · symfony/symfony-docs@10a22b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10a22b1

Browse files
committed
minor #13442 Shortening the text (ThomasLandauer)
This PR was merged into the 3.4 branch. Discussion ---------- Shortening the text Commits ------- f9f9816 Shortening the text
2 parents 048ac46 + f9f9816 commit 10a22b1

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
@@ -104,12 +104,10 @@ Then, create a form class so that a ``Tag`` object can be modified by the user::
104104
}
105105
}
106106

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

114112
// src/AppBundle/Form/TaskType.php
115113
namespace AppBundle\Form;

0 commit comments

Comments
 (0)
0