mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
ChillCustomFieldsBundle:Form:form_div_layout.html.twig -> ChillCustomFieldsBundle:Form:fields.html.twig
This commit is contained in:
parent
33be9bedfb
commit
16308d0139
@ -39,12 +39,10 @@ class ChillCustomFieldsExtension extends Extension implements PrependExtensionIn
|
|||||||
/* (non-PHPdoc)
|
/* (non-PHPdoc)
|
||||||
* @see \Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface::prepend()
|
* @see \Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface::prepend()
|
||||||
*/
|
*/
|
||||||
public function prepend(ContainerBuilder $container)
|
public function prepend(ContainerBuilder $container)
|
||||||
{
|
{
|
||||||
// add form layout to twig resources
|
// add form layout to twig resources
|
||||||
$twigConfig['form']['resources'][] = 'ChillCustomFieldsBundle:Form:form_div_layout.html.twig';
|
$twigConfig['form']['resources'][] = 'ChillCustomFieldsBundle:Form:fields.html.twig';
|
||||||
$container->prependExtensionConfig('twig', $twigConfig);
|
$container->prependExtensionConfig('twig', $twigConfig);
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user