We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c7ea8 commit 68adff4Copy full SHA for 68adff4
components/form.rst
@@ -193,7 +193,7 @@ to bootstrap or access Twig and add the :class:`Symfony\\Bridge\\Twig\\Extension
193
$viewsDir,
194
$vendorTwigBridgeDir.'/Resources/views/Form',
195
)));
196
- $formEngine = new TwigRendererEngine(array($defaultFormTheme));
+ $formEngine = new TwigRendererEngine(array($defaultFormTheme), $twig);
197
$twig->addRuntimeLoader(new \Twig_FactoryRuntimeLoader(array(
198
TwigRenderer::class => function () use ($formEngine, $csrfManager) {
199
return new TwigRenderer($formEngine, $csrfManager);
0 commit comments