Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ee8a1f

Browse filesBrowse files
committed
Ref #3903 - new list normalized
1 parent 7054cf4 commit 9ee8a1f
Copy full SHA for 9ee8a1f

File tree

Expand file treeCollapse file tree

2 files changed

+16
-13
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-13
lines changed

‎book/forms.rst

Copy file name to clipboardExpand all lines: book/forms.rst
+13-10Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,19 @@ helper functions:
167167

168168
That's it! Just three lines are needed to render the complete form:
169169

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>`.
180183

181184
.. seealso::
182185

‎cookbook/security/custom_authentication_provider.rst

Copy file name to clipboardExpand all lines: cookbook/security/custom_authentication_provider.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,15 @@ requires the following methods:
335335

336336
``create``
337337
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.
339339

340340
``getPosition``
341341
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.
343343

344344
``getKey``
345345
Method which defines the configuration key used to reference
346-
the provider in the firewall configuration;
346+
the provider in the firewall configuration.
347347

348348
``addConfiguration``
349349
Method which is used to define the configuration

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.