I use Symfony and boostrap to customize the style of my website. I have a twig: register_content.html.twig file that contains a registration form.
In my index.html.twig, I want to have something like this:
<a href="{{ path('fos_user_registration_register') }}" class="btn" data-toggle="modal">Je m'inscris !</a>
To display the contents of the register form in a modal window, but it does not work.
I am trying to use twitter-bootstrap documentation here: http://bootstrap.braincrafted.com/javascript#modals
But I cannot find a way to easily apply it for twig in symfony ...
could you help me?
thanks
source share