Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite80995b

Browse files
committed
Fixed PHP form theme resources
1 parentef2a044 commite80995b

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,8 +1371,8 @@ A list of all resources for form theming in PHP. This setting is not required
13711371
if 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 canconfigure 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
),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp