File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -1371,8 +1371,8 @@ A list of all resources for form theming in PHP. This setting is not required
1371
1371
if you're using the Twig format for your templates, in that case refer to
1372
1372
:ref: `the form article <forms-theming-twig >`.
1373
1373
1374
- Assume you have custom global form themes in
1375
- `` src/Resources/views/Form ``, you can configure this like:
1374
+ Assume you have custom global form themes in `` templates/form_themes/ ``, you can
1375
+ configure this like:
1376
1376
1377
1377
.. configuration-block ::
1378
1378
@@ -1383,7 +1383,7 @@ Assume you have custom global form themes in
1383
1383
templating :
1384
1384
form :
1385
1385
resources :
1386
- - ' WebsiteBundle:Form '
1386
+ - ' form_themes '
1387
1387
1388
1388
.. code-block :: xml
1389
1389
@@ -1397,17 +1397,11 @@ Assume you have custom global form themes in
1397
1397
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
1398
1398
1399
1399
<framework : config >
1400
-
1401
1400
<framework : templating >
1402
-
1403
1401
<framework : form >
1404
-
1405
- <framework : resource >WebsiteBundle:Form</framework : resource >
1406
-
1402
+ <framework : resource >form_themes</framework : resource >
1407
1403
</framework : form >
1408
-
1409
1404
</framework : templating >
1410
-
1411
1405
</framework : config >
1412
1406
</container >
1413
1407
@@ -1418,7 +1412,7 @@ Assume you have custom global form themes in
1418
1412
'templating' => array(
1419
1413
'form' => array(
1420
1414
'resources' => array(
1421
- 'WebsiteBundle:Form '
1415
+ 'form_themes '
1422
1416
),
1423
1417
),
1424
1418
),
You can’t perform that action at this time.
0 commit comments