From f4031b94d50951803090602c41a1de5cb296fb90 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 9 Apr 2019 12:48:26 +0200 Subject: [PATCH] use correct code block for examples --- form/form_customization.rst | 2 +- form/form_themes.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/form/form_customization.rst b/form/form_customization.rst index fc327a34af0..35aa348aa99 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -30,7 +30,7 @@ The next step is to use the :ref:`form_start() `, :ref:`form_row() ` Twig functions to render the different form parts so you can customize them adding HTML elements and attributes: -.. code-block:: twig +.. code-block:: html+twig {{ form_start(form) }}
diff --git a/form/form_themes.rst b/form/form_themes.rst index 467662a7156..a24d656b7d4 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -122,7 +122,7 @@ A form can also be customized by applying several themes. To do this, pass the path of all the Twig templates as an array using the ``with`` keyword (their order is important, because each theme overrides all the previous ones): -.. code-block:: html+twig +.. code-block:: twig {# apply multiple form themes but only to the form of this template #} {% form_theme form with [