@@ -111,7 +111,7 @@ from inside a controller::
111
111
112
112
Creating a form requires relatively little code because Symfony form objects
113
113
are built with a "form builder". The form builder's purpose is to allow you
114
- to write simple form "recipes", and have it do all the heavy -lifting of actually
114
+ to write simple form "recipes", and have it do all the gvy -lifting of actually
115
115
building the form.
116
116
117
117
In this example, you've added two fields to your form - ``task `` and ``dueDate `` -
@@ -167,16 +167,19 @@ helper functions:
167
167
168
168
That's it! Just three lines are needed to render the complete form:
169
169
170
- * ``form_start(form) `` - Renders the start tag of the form, including the
171
- correct enctype attribute when using file uploads;
170
+ ``form_start(form) ``
171
+ Renders the start tag of the form, including the correct enctype attribute
172
+ when using file uploads.
172
173
173
- * ``form_widget(form) `` - Renders all of the fields, which includes the field
174
- element itself, a label and any validation error messages for the field;
174
+ ``form_widget(form) ``
175
+ Renders all of the fields, which includes the field element itself, a label
176
+ and any validation error messages for the field.
175
177
176
- * ``form_end() `` - Renders the end tag of the form and any fields that have not
177
- yet been rendered, in case you rendered each field yourself. This is useful
178
- for rendering hidden fields and taking advantage of the automatic
179
- :ref: `CSRF Protection <forms-csrf >`.
178
+ ``form_end() ``
179
+ Renders the end tag of the form and any fields that have not
180
+ yet been rendered, in case you rendered each field yourself. This is useful
181
+ for rendering hidden fields and taking advantage of the automatic
182
+ :ref: `CSRF Protection <forms-csrf >`.
180
183
181
184
.. seealso ::
182
185
0 commit comments