FriendsOfSymfony/FOSUserBundle — pull request #703 by gereon (2012-07-08 12:56:41+00:00)
Title: Make it easier to include templates (e.g. the login form) from other templates with {% render ... %}

Thought that it could be helpful to split the loginAction method into two - one calling the layout.html.twig - one just displaying the plain form.

This makes it very easy - without extending the SecurityController - to include the login form globally by putting {% render 'FOSUser:Security:loginForm %} into e.g. the layout.html.twig