title: Symfony2 array of forms?
body: <p>Is it possible to create and render and array of forms I know about collections but they don't really fit in my idea?</p>
  
  <p>What I want is something like this</p>
  
  <h1>Controller</h1>
  
  <pre><code>$data=$em-&gt;findAll();
  $Forms=$this-&gt;createForm(new SomeType,$data);
  
  return $this-&gt;render(someView,array("Forms"=&gt;$Forms-&gt;createView()));
  </code></pre>
  
  <h1>Twig</h1>
  
  <pre><code>  {% for Form in Forms %}
    {{ form(Form)}}
    {% endfor %}
  </code></pre>