title: Symfony2 forms are rendered empty
body: <p>I've just started trying to build forms with Symfony2.4.2 and having a VERY frustrating time.  I have successfully managed to build the example found in the book chapter 12.  I've also tried to build essentially the same form in another project, in another bundle and always seems to end up with an empty form:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;form action="" method="post" name="form"&gt; &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The code to create this:</p>
  
  <pre><code>use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  use DMV\form3Bundle\Entity\Task;
  use Symfony\Component\HttpFoundation\Request;
  
  class DefaultController extends Controller
  {
      public function newAction(Request $request)
      {
          // create a task and give it some dummy data for this example
          $task = new Task();
          $task-&gt;setTask('Write a blog post');
          $task-&gt;setDueDate(new \DateTime('tomorrow'));
  
          $form = $this-&gt;createFormBuilder($task)
              -&gt;add('task', 'text')
              -&gt;add('dueDate', 'date')
              -&gt;add('save', 'submit')
              -&gt;getForm();
  
          return $this-&gt;render('DMVform3Bundle:Default:new.html.twig', array('form' =&gt; $form-&gt;createView(),));
  
      }
  }
  </code></pre>
  
  <p>new.html.twig:</p>
  
  <pre><code>{{ form(form) }}
  </code></pre>
  
  <p>I've tried tried delving into the "$form" at a breakpoint at the "return $this->render..." line that is suppose to render the form and I DO see the form elements texts in the structure but it is a very large and complex structure and I'm not sure what I should see exactly.</p>
  
  <p>Any suggestions would be appreciated.</p>