Skip to content

Commit ff32bd8

Browse files
timhoviusweaverryan
authored andcommitted
Changed folder name to lowercase (best practises)
1 parent a66c49a commit ff32bd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cookbook/form/create_custom_field_type.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ link for details), create a ``gender_widget`` block to handle this:
115115

116116
.. code-block:: html+twig
117117

118-
{# app/Resources/views/Form/fields.html.twig #}
118+
{# app/Resources/views/form/fields.html.twig #}
119119
{% block gender_widget %}
120120
{% spaceless %}
121121
{% if expanded %}
@@ -136,7 +136,7 @@ link for details), create a ``gender_widget`` block to handle this:
136136

137137
.. code-block:: html+php
138138

139-
<!-- app/Resources/views/Form/gender_widget.html.php -->
139+
<!-- app/Resources/views/form/gender_widget.html.php -->
140140
<?php if ($expanded) : ?>
141141
<ul <?php $view['form']->block($form, 'widget_container_attributes') ?>>
142142
<?php foreach ($form as $child) : ?>
@@ -167,21 +167,21 @@ link for details), create a ``gender_widget`` block to handle this:
167167
# app/config/config.yml
168168
twig:
169169
form_themes:
170-
- 'Form/fields.html.twig'
170+
- 'form/fields.html.twig'
171171
172172
.. code-block:: xml
173173
174174
<!-- app/config/config.xml -->
175175
<twig:config>
176-
<twig:form-theme>Form/fields.html.twig</twig:form-theme>
176+
<twig:form-theme>form/fields.html.twig</twig:form-theme>
177177
</twig:config>
178178
179179
.. code-block:: php
180180
181181
// app/config/config.php
182182
$container->loadFromExtension('twig', array(
183183
'form_themes' => array(
184-
'Form/fields.html.twig',
184+
'form/fields.html.twig',
185185
),
186186
));
187187

0 commit comments

Comments
 (0)