File tree Expand file tree Collapse file tree 2 files changed +16
-13
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +16
-13
lines changed
Original file line number Diff line number Diff line change @@ -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;
172
-
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;
175
-
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 >`.
170
+ ``form_start(form) ``
171
+ Renders the start tag of the form, including the correct enctype attribute
172
+ when using file uploads.
173
+
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.
177
+
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
Original file line number Diff line number Diff line change @@ -335,15 +335,15 @@ requires the following methods:
335
335
336
336
``create ``
337
337
Method which adds the listener and authentication provider
338
- to the DI container for the appropriate security context;
338
+ to the DI container for the appropriate security context.
339
339
340
340
``getPosition ``
341
341
Method which must be of type ``pre_auth ``, ``form ``, ``http ``,
342
- and ``remember_me `` and defines the position at which the provider is called;
342
+ and ``remember_me `` and defines the position at which the provider is called.
343
343
344
344
``getKey ``
345
345
Method which defines the configuration key used to reference
346
- the provider in the firewall configuration;
346
+ the provider in the firewall configuration.
347
347
348
348
``addConfiguration ``
349
349
Method which is used to define the configuration
You can’t perform that action at this time.
0 commit comments