@@ -54,7 +54,7 @@ form in its own PHP class::
5454 Put the form type classes in the ``AppBundle\Form `` namespace, unless you
5555 use other custom form classes like data transformers.
5656
57- To use the class, use ``createForm `` and instantiate the new class::
57+ To use the class, use ``createForm() `` and instantiate the new class::
5858
5959 // ...
6060 use AppBundle\Form\PostType;
@@ -160,8 +160,8 @@ thing in one line to rendering each part of each field independently. The
160160best way depends on how much customization you need.
161161
162162One of the simplest ways - which is especially useful during development -
163- is to render the form tags and use ``form_widget() `` to render all of the
164- fields:
163+ is to render the form tags and use ``form_widget() `` function to render
164+ all of the fields:
165165
166166.. code-block :: html+twig
167167
@@ -171,7 +171,7 @@ fields:
171171
172172If you need more control over how your fields are rendered, then you should
173173remove the ``form_widget(form) `` function and render your fields individually.
174- See the :doc: `/cookbook/form/form_customization ` article for more information
174+ See the :doc: `/cookbook/form/form_customization ` cookbook article for more information
175175on this and how you can control *how * the form renders at a global level
176176using form theming.
177177
@@ -204,9 +204,9 @@ Handling a form submit usually follows a similar template:
204204
205205 There are really only two notable things here. First, we recommend that you
206206use a single action for both rendering the form and handling the form submit.
207- For example, you *could * have a ``newAction `` that *only * renders the form
208- and a ``createAction `` that *only * processes the form submit. Both those
209- actions will be almost identical. So it's much simpler to let ``newAction ``
207+ For example, you *could * have a ``newAction() `` that *only * renders the form
208+ and a ``createAction() `` that *only * processes the form submit. Both those
209+ actions will be almost identical. So it's much simpler to let ``newAction() ``
210210handle everything.
211211
212212Second, we recommend using ``$form->isSubmitted() `` in the ``if `` statement
0 commit comments