Skip to content

Commit 044f60a

Browse files
committed
[#10036] fix indentation
1 parent 6346357 commit 044f60a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

form/form_themes.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ To understand how this works, customize the ``form_row`` fragment and
2424
add a class attribute to the ``div`` element that surrounds each row. To
2525
do this, create a new template file that will store the new markup:
2626

27-
.. code-block:: html+twig
27+
.. 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)