title: Symfony2 Forms: Set name of form without entity
body: <p>I create a form in my controller without entity like following:</p>
  
  <pre><code>$defaultData = array('message' =&gt; 'Assign');
  $form_assign = $this-&gt;createFormBuilder($defaultData)
    -&gt;add('team', 'text', array('label' =&gt; 'Team'))
    -&gt;add('create', 'button', array('label' =&gt; 'Create'))
    -&gt;getForm();
  </code></pre>
  
  <p>Now when i render the form in my view with </p>
  
  <pre><code>{{ form(form_assign) }}
  </code></pre>
  
  <p>The name of the form is allways "form", like this:</p>
  
  <pre><code>&lt;form name="form" method="post" action&gt;
  </code></pre>
  
  <p>How do i change the name-attribute of the form?
  I work with Symfony version 2.4.2</p>
  
  <p>(i have read <a href="https://stackoverflow.com/a/21041724">this comment</a> on a similar question and tried it out, but it didnt worked for me.)</p>