8000 minor #11383 use correct code block for examples (OskarStark) · symfony/symfony-docs@7e27e51 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e27e51

Browse files
committed
minor #11383 use correct code block for examples (OskarStark)
This PR was merged into the 4.2 branch. Discussion ---------- use correct code block for examples <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- f4031b9 use correct code block for examples
2 parents d912b43 + f4031b9 commit 7e27e51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

form/form_customization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The next step is to use the :ref:`form_start() <reference-forms-twig-start>`,
3030
:ref:`form_row() <reference-forms-twig-row>` Twig functions to render the
3131
different form parts so you can customize them adding HTML elements and attributes:
3232

33-
.. code-block:: twig
33+
.. code-block:: html+twig
3434

3535
{{ form_start(form) }}
3636
<div class="my-custom-class-for-errors">

form/form_themes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ A form can also be customized by applying several themes. To do this, pass the
122122
path of all the Twig templates as an array using the ``with`` keyword (their
123123
order is important, because each theme overrides all the previous ones):
124124

125-
.. code-block:: html+twig
125+
.. code-block:: twig
126126
127127
{# apply multiple form themes but only to the form of this template #}
128128
{% form_theme form with [

0 commit comments

Comments
 (0)
0