Skip to content

Commit fe0eea9

Browse files
committed
Use correct code-block type
1 parent 89b31c1 commit fe0eea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form/create_custom_field_type.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ The last step is to create the actual Twig template that will render the type.
401401
The template contents depend on which HTML, CSS and JavaScript frameworks and
402402
libraries are used in your application:
403403

404-
.. code-block:: twig
404+
.. code-block:: html+twig
405405

406406
{# templates/form/custom_types.html.twig #}
407407
{% block postal_address_row %}
@@ -485,7 +485,7 @@ for this form class and :doc:`tag it </service_container/tags>` with ``form.type
485485
The variables added in ``buildView()`` are available in the form type template
486486
as any other regular Twig variable:
487487

488-
.. code-block:: twig
488+
.. code-block:: html+twig
489489

490490
{# templates/form/custom_types.html.twig #}
491491
{% block postal_address_row %}

0 commit comments

Comments
 (0)