Skip to content

Commit db37199

Browse files
committed
Fixing some bad paths in form customization
1 parent 9ddbceb commit db37199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/form/form_customization.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ The default implementation of the ``integer_widget`` fragment looks like this:
135135

136136
.. code-block:: jinja
137137
138-
{# integer_widget.html.twig #}
138+
{# form_div_layout.html.twig #}
139139
{% block integer_widget %}
140140
{% set type = type|default('number') %}
141141
{{ block('field_widget') }}
@@ -152,7 +152,7 @@ As you can see, this fragment itself renders another fragment - ``field_widget``
152152

153153
.. code-block:: html+jinja
154154

155-
{# FrameworkBundle/Resources/views/Form/field_widget.html.twig #}
155+
{# form_div_layout.html.twig #}
156156
{% block field_widget %}
157157
{% set type = type|default('text') %}
158158
<input type="{{ type }}" {{ block('widget_attributes') }} value="{{ value }}" />

0 commit comments

Comments
 (0)