@@ -115,7 +115,7 @@ link for details), create a ``gender_widget`` block to handle this:
115
115
116
116
.. code-block :: html+twig
117
117
118
- {# app/Resources/views/Form /fields.html.twig #}
118
+ {# app/Resources/views/form /fields.html.twig #}
119
119
{% block gender_widget %}
120
120
{% spaceless %}
121
121
{% if expanded %}
@@ -136,7 +136,7 @@ link for details), create a ``gender_widget`` block to handle this:
136
136
137
137
.. code-block :: html+php
138
138
139
- <!-- app/Resources/views/Form /gender_widget.html.php -->
139
+ <!-- app/Resources/views/form /gender_widget.html.php -->
140
140
<?php if ($expanded) : ?>
141
141
<ul <?php $view['form']->block($form, 'widget_container_attributes') ?>>
142
142
<?php foreach ($form as $child) : ?>
@@ -167,21 +167,21 @@ link for details), create a ``gender_widget`` block to handle this:
167
167
# app/config/config.yml
168
168
twig :
169
169
form_themes :
170
- - ' Form /fields.html.twig'
170
+ - ' form /fields.html.twig'
171
171
172
172
.. code-block :: xml
173
173
174
174
<!-- app/config/config.xml -->
175
175
<twig : config >
176
- <twig : form-theme >Form /fields.html.twig</twig : form-theme >
176
+ <twig : form-theme >form /fields.html.twig</twig : form-theme >
177
177
</twig : config >
178
178
179
179
.. code-block :: php
180
180
181
181
// app/config/config.php
182
182
$container->loadFromExtension('twig', array(
183
183
'form_themes' => array(
184
- 'Form /fields.html.twig',
184
+ 'form /fields.html.twig',
185
185
),
186
186
));
187
187
0 commit comments