I installed Symfony2, FOS User Bundle and Twitter Bootstrap.
Then I customize the /app/Resources/FOSUserBundle/views/layout.html.twig template to override FOSUserBundle to use my site template.
Everything works if I have a link to / login on the main page.
Now I want to implement a template similar to a template, where the login form is part of the main template.
The closest I have is to use it in the main template:
{% render controller("FOSUserBundle:Security:login") %}
I can override the html layout so as not to redistribute the main template, but this removes all styles from / login
Any ideas on how I can handle both scenarios?
source share