From 49a33c62de0c3448608d3ae731ce1c7c24c41d01 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 1 Aug 2023 14:58:12 +0200 Subject: [PATCH] Removing self-closing slash from --- components/dom_crawler.rst | 12 ++++++------ components/form.rst | 2 +- form/form_customization.rst | 2 +- form/form_themes.rst | 2 +- reference/constraints/File.rst | 2 +- reference/forms/types/email.rst | 2 +- reference/forms/types/range.rst | 2 +- reference/forms/types/search.rst | 2 +- security.rst | 6 +++--- security/csrf.rst | 2 +- security/form_login.rst | 14 +++++++------- security/remember_me.rst | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index db91554f026..b8c484ab114 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -535,12 +535,12 @@ To work with multi-dimensional fields: .. code-block:: html
- - - - - - + + + + + +
Pass an array of values:: diff --git a/components/form.rst b/components/form.rst index 2f7b874d7bf..78a8b652773 100644 --- a/components/form.rst +++ b/components/form.rst @@ -507,7 +507,7 @@ done by passing a special form "view" object to your template (notice the {{ form_start(form) }} {{ form_widget(form) }} - + {{ form_end(form) }} .. image:: /_images/form/simple-form.png diff --git a/form/form_customization.rst b/form/form_customization.rst index 87be104c7f1..26ec9e38c7f 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -117,7 +117,7 @@ fields, so you no longer have to deal with form themes: value="{{ field_value(form.username) }}" placeholder="{{ field_label(form.username) }}" class="form-control" - /> + > + Symfony uses a Twig block called ``integer_widget`` to render that field. This is because the field type is ``integer`` and you're rendering its ``widget`` (as diff --git a/reference/constraints/File.rst b/reference/constraints/File.rst index 65841a1e26c..ad36a42abb8 100644 --- a/reference/constraints/File.rst +++ b/reference/constraints/File.rst @@ -245,7 +245,7 @@ You can find a list of existing mime types on the `IANA website`_. When using this constraint on a :doc:`FileType field `, the value of the ``mimeTypes`` option is also used in the ``accept`` - attribute of the related ```` HTML element. + attribute of the related ```` HTML element. This behavior is applied only when using :ref:`form type guessing ` (i.e. the form type is not defined explicitly in the ``->add()`` method of diff --git a/reference/forms/types/email.rst b/reference/forms/types/email.rst index 9a5f06c2a9e..90752042409 100644 --- a/reference/forms/types/email.rst +++ b/reference/forms/types/email.rst @@ -2,7 +2,7 @@ EmailType Field =============== The ``EmailType`` field is a text field that is rendered using the HTML5 -```` tag. +```` tag. +---------------------------+---------------------------------------------------------------------+ | Rendered as | ``input`` ``email`` field (a text box) | diff --git a/reference/forms/types/range.rst b/reference/forms/types/range.rst index 9da6407f881..95e4bcff64c 100644 --- a/reference/forms/types/range.rst +++ b/reference/forms/types/range.rst @@ -2,7 +2,7 @@ RangeType Field =============== The ``RangeType`` field is a slider that is rendered using the HTML5 -```` tag. +```` tag. +---------------------------+---------------------------------------------------------------------+ | Rendered as | ``input`` ``range`` field (slider in HTML5 supported browser) | diff --git a/reference/forms/types/search.rst b/reference/forms/types/search.rst index 8eeefb053d5..d99b8fefc0a 100644 --- a/reference/forms/types/search.rst +++ b/reference/forms/types/search.rst @@ -1,7 +1,7 @@ SearchType Field ================ -This renders an ```` field, which is a text box with +This renders an ```` field, which is a text box with special functionality supported by some browsers. Read about the input search field at `DiveIntoHTML5.info`_ diff --git a/security.rst b/security.rst index b629cc7cfc3..5b38acb53ea 100644 --- a/security.rst +++ b/security.rst @@ -794,13 +794,13 @@ Finally, create or update the template:
- + - + {# If you want to control the URL the user is redirected to on success - #} + #}
diff --git a/security/csrf.rst b/security/csrf.rst index a03cfc59c00..fd89ff17ba9 100644 --- a/security/csrf.rst +++ b/security/csrf.rst @@ -141,7 +141,7 @@ generate a CSRF token in the template and store it as a hidden form field:
{# the argument of csrf_token() is an arbitrary string used to generate the token #} - +
diff --git a/security/form_login.rst b/security/form_login.rst index ec8f4a1d373..a285f26fcf9 100644 --- a/security/form_login.rst +++ b/security/form_login.rst @@ -157,8 +157,8 @@ Defining the redirect URL via POST using a hidden form field:
{# ... #} - - + +
Using the Referring URL @@ -301,8 +301,8 @@ This option can also be set via the ``_failure_path`` request parameter:
{# ... #} - - + +
Customizing the Target and Failure Request Parameters @@ -380,7 +380,7 @@ are now fully customized:
{# ... #} - - - + + +
diff --git a/security/remember_me.rst b/security/remember_me.rst index 1d69cc9a555..19b6cb44a7b 100644 --- a/security/remember_me.rst +++ b/security/remember_me.rst @@ -124,7 +124,7 @@ checkbox must have a name of ``_remember_me``: {# ... your form fields #}