8000 Using Twig template name syntax in form_theme example · symfony/symfony@ce653f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce653f2

Browse files
committed
Using Twig template name syntax in form_theme example
1 parent f6b4dc9 commit ce653f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private function addFormThemesSection(ArrayNodeDefinition $rootNode)
5454
->arrayNode('form_themes')
5555
->addDefaultChildrenIfNoneSet()
5656
->prototype('scalar')->defaultValue('form_div_layout.html.twig')->end()
57-
->example(array('MyBundle::form.html.twig'))
57+
->example(array('@My/form.html.twig'))
5858
->validate()
5959
->ifTrue(function ($v) { return !\in_array('form_div_layout.html.twig', $v); })
6060
->then(function ($v) {

0 commit comments

Comments
 (0)
0