Skip to content

Commit 6346357

Browse files
committed
minor #10036 fix code block indentation (xabbuh)
This PR was merged into the 4.0 branch. Discussion ---------- fix code block indentation <!-- 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 ------- ef4e18a fix code block indentation
2 parents f52e138 + ef4e18a commit 6346357

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

form/form_themes.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ do this, create a new template file that will store the new markup:
2626

2727
.. code-block:: html+twig
2828

29-
{# templates/form/fields.html.twig #}
30-
{% block form_row %}
31-
{% spaceless %}
32-
<div class="form_row">
33-
{{ form_label(form) }}
34-
{{ form_errors(form) }}
35-
{{ form_widget(form) }}
36-
</div>
37-
{% endspaceless %}
38-
{% endblock form_row %}
29+
{# templates/form/fields.html.twig #}
30+
{% block form_row %}
31+
{% spaceless %}
32+
<div class="form_row">
33+
{{ form_label(form) }}
34+
{{ form_errors(form) }}
35+
{{ form_widget(form) }}
36+
</div>
37+
{% endspaceless %}
38+
{% endblock form_row %}
3939

4040
The ``form_row`` form fragment is used when rendering most fields via the
4141
``form_row()`` function. To tell the Form component to use your new ``form_row``

0 commit comments

Comments
 (0)