title: How to include twig templates using jquery
body: <p>I have a web form page with the possibility to add dynamically other fields by clicking onto a link. This page it's been splitted into various templates, in particular every field of the form has it's own template. Now to make this work I have to copy and paste the final generated html code and assign it manipulating the DOM, is there a way to let Jquery reuse my already written TWIG templates?</p>
  
  <p>For an example of my situation take a look at: <a href="http://symfony.com/doc/master/cookbook/form/form_collections.html#allowing-new-tags-with-the-prototype" rel="nofollow">http://symfony.com/doc/master/cookbook/form/form_collections.html#allowing-new-tags-with-the-prototype</a></p>