diff --git a/doctrine/registration_form.rst b/doctrine/registration_form.rst index b90a8b41efd..176cc458b7f 100644 --- a/doctrine/registration_form.rst +++ b/doctrine/registration_form.rst @@ -185,7 +185,7 @@ register.html.twig The template renders the form: -.. code-block:: twig +.. code-block:: html+twig {% extends 'base.html.twig' %} diff --git a/form/form_customization.rst b/form/form_customization.rst index dcfbef5dd2c..35aa348aa99 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -327,7 +327,7 @@ This test will check if the current choice is equal to the ``selected_value`` or if the current choice is in the array (when ``selected_value`` is an array). -.. code-block:: twig +.. code-block:: html+twig