title: How create modal window with Twig template and Twitter-Bootstrap
body: <p>I use Symfony and boostrap to customize the style of my website.
  I have a twig file : register_content.html.twig which contains a register form.</p>
  
  <p>In my index.html.twig I want to have something like that : </p>
  
  <pre><code>&lt;a href="{{ path('fos_user_registration_register') }}" class="btn" data-toggle="modal"&gt;Je m'inscris !&lt;/a&gt;
  </code></pre>
  
  <p>To display the content of the register form in a modal window, but it doesn't work.</p>
  
  <p>I try to use the twitter-bootstrap documentation here : 
  <a href="http://bootstrap.braincrafted.com/javascript#modals" rel="noreferrer">http://bootstrap.braincrafted.com/javascript#modals</a></p>
  
  <p>But I can't find a way to apply it easily for twig in symfony...</p>
  
  <p>Could you help me ?</p>
  
  <p>Thanks</p>