Skip to content

Commit

Permalink
feature #4958 Add Twitter Bootstrap form theme example (bocharsky-bw)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.6 branch.

Discussion
----------

Add Twitter Bootstrap form theme example

Also add Twitter Bootstrap 3 themes to it (http://symfony.com/blog/new-in-symfony-2-6-bootstrap-form-theme).

Commits
-------

fa74e41 Add twitter bootstrap form theme example
  • Loading branch information
wouterj committed Mar 30, 2015
2 parents edf9b78 + fa74e41 commit 25d2f54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reference/configuration/twig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ TwigBundle Configuration ("twig")
twig:
exception_controller: twig.controller.exception:showAction
form_themes:
# Default:
- form_div_layout.html.twig
# Bootstrap:
- bootstrap_3_layout.html.twig
- bootstrap_3_horizontal_layout.html.twig
# Example:
- MyBundle::form.html.twig
globals:
# Examples:
Expand Down

0 comments on commit 25d2f54

Please sign in to comment.