Skip to content

Commit 485b4f7

Browse files
committed
Add twig.form.resources config path
Also add Twitter Bootstrap 3 themes to it (http://symfony.com/blog/new-in-symfony-2-6-bootstrap-form-theme).
1 parent 6ba90ec commit 485b4f7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

reference/configuration/twig.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,27 @@ TwigBundle Configuration ("twig")
1010
1111
twig:
1212
exception_controller: twig.controller.exception:showAction
13+
1314
form_themes:
1415
1516
# Default:
1617
- form_div_layout.html.twig
1718
1819
# Example:
1920
- MyBundle::form.html.twig
21+
22+
form:
23+
resources:
24+
# Default:
25+
- form_div_layout.html.twig
26+
27+
# Bootstrap:
28+
- bootstrap_3_layout.html.twig
29+
- bootstrap_3_horizontal_layout.html.twig
30+
31+
# Example:
32+
- MyBundle::form.html.twig
33+
2034
globals:
2135
2236
# Examples:

0 commit comments

Comments
 (0)