Is there a way to create a form without explicitly instantiating it in the 
controller?
The use-case here is a small search form that is displayed on all pages. 
Right now I explicitely instantiate it in the controller of the page but 
doing this in all Controllers would be a chore. I know that in the past 
there was a "render" tag in twig that could call a controller that could be 
used for something like this but this doesn't seem to exists anymore.
What way is there to say "render the search form here" in a twig template?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to