8000 use correct code block for examples · symfony/symfony-docs@f4031b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit f4031b9

Browse files
committed
use correct code block for examples
1 parent b14c33c commit f4031b9

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