Skip to content

Commit 83b6c8f

Browse files
committed
Clarifying form / form type
1 parent 9f0c2f1 commit 83b6c8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/forms.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,8 @@ form "type"). It can be used to quickly build a form object in the controller::
835835

836836
.. tip::
837837

838-
Defining your form as a service is a good practice and make it easily usable in
839-
your application. First, you must tag your form as a form type in the service container:
838+
Defining your form type as a service is a good practice and make it easily usable in
839+
your application :
840840

841841
.. configuration-block::
842842

@@ -870,7 +870,7 @@ form "type"). It can be used to quickly build a form object in the controller::
870870
))
871871
;
872872
873-
That's it! Now you can use your form directly in a controller::
873+
That's it! Now you can use your form type directly in a controller::
874874

875875
// src/Acme/TaskBundle/Controller/DefaultController.php
876876

0 commit comments

Comments
 (0)