mirror of
https://github.com/flextype/flextype.git
synced 2025-08-16 01:54:28 +02:00
feat(form-plugin): add form_render twig function #408
This commit is contained in:
@@ -24,3 +24,8 @@ $flextype['FormController'] = static function ($container) {
|
||||
$flextype['fieldsets'] = static function ($container) {
|
||||
return new Fieldsets($container);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add form twig extension
|
||||
*/
|
||||
$flextype->view->addExtension(new FormTwigExtension($flextype));
|
||||
|
Reference in New Issue
Block a user