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
13711371if you're using the Twig format for your templates, in that case refer to
13721372:ref: `the form article <forms-theming-twig >`.
13731373
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:
13761376
13771377.. configuration-block ::
13781378
@@ -1383,7 +1383,7 @@ Assume you have custom global form themes in
13831383 templating :
13841384 form :
13851385 resources :
1386- - ' WebsiteBundle:Form '
1386+ - ' form_themes '
13871387
13881388 .. code-block :: xml
13891389
@@ -1397,17 +1397,11 @@ Assume you have custom global form themes in
13971397 http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
13981398
13991399 <framework : config >
1400-
14011400 <framework : templating >
1402-
14031401 <framework : form >
1404-
1405- <framework : resource >WebsiteBundle:Form</framework : resource >
1406-
1402+ <framework : resource >form_themes</framework : resource >
14071403 </framework : form >
1408-
14091404 </framework : templating >
1410-
14111405 </framework : config >
14121406 </container >
14131407
@@ -1418,7 +1412,7 @@ Assume you have custom global form themes in
14181412 'templating' => array(
14191413 'form' => array(
14201414 'resources' => array(
1421- 'WebsiteBundle:Form '
1415+ 'form_themes '
14221416 ),
14231417 ),
14241418 ),
You can’t perform that action at this time.
0 commit comments