From ef4e18af7ab8733444c84812769aa414f0e11618 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 9 Jul 2018 20:27:13 +0200 Subject: [PATCH] fix code block indentation --- form/form_themes.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/form/form_themes.rst b/form/form_themes.rst index 84a8d4b0126..d8c654282f6 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -26,16 +26,16 @@ do this, create a new template file that will store the new markup: .. code-block:: html+twig - {# templates/form/fields.html.twig #} - {% block form_row %} - {% spaceless %} -
- {{ form_label(form) }} - {{ form_errors(form) }} - {{ form_widget(form) }} -
- {% endspaceless %} - {% endblock form_row %} + {# templates/form/fields.html.twig #} + {% block form_row %} + {% spaceless %} +
+ {{ form_label(form) }} + {{ form_errors(form) }} + {{ form_widget(form) }} +
+ {% endspaceless %} + {% endblock form_row %} The ``form_row`` form fragment is used when rendering most fields via the ``form_row()`` function. To tell the Form component to use your new ``form_row``