title: form in symfony does not exist
body: <p>I'm testing a simple page of contact with symfony but when i want to display the contact.html.twig it doesn't appear and i have the error that the form does not exist</p>
  
  <p>there is my controller </p>
  
  <pre><code> public function sendAction()
  {
     $contact = new Contact();
  
     $form = $this-&gt;createForm(new ContactType(),$contact);
  
     $_REQUEST = $this-&gt;getRequest();
  
     if($_REQUEST-&gt;isMethod('Post')){
         $form-&gt;bind($_REQUEST);
  
         if($form-&gt;isValid()){
  
             $contact = $form-&gt;getData();
  
             $em = $this-&gt;getDoctrine()-&gt;getManager();
             $em-&gt;persist($contact);
             $em.flush();
  
             return $this-&gt;redirect($this-&gt;generateUrl('front_office_send'));
         }
     }
      return $this-&gt;render('frontOfficeBundle:Contact:contact.html.twig', array('form' =&gt; $form-&gt;createView()));
  
  }
  </code></pre>
  
  <p>and my page contact.html.twig:</p>
  
  <pre><code>{% extends"frontOfficeBundle::layoutheader.html.twig" %}
  {% block container %}
  &lt;form id="form" class="form-light mt-20" role="form" method="post" action="{{ path('front_office_send') }}"&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Nom&lt;/label&gt;
                              {{form_widget(form.nom)}}
  
                          &lt;/div&gt;
                          &lt;div class="row"&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;div class="form-group"&gt;
                                      &lt;label&gt;Adresse électronique &amp;nbsp;&lt;/label&gt;
                                      {{ form_widget(form.email) }}
  
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;div class="form-group"&gt;
                                      &lt;label&gt;Téléphone&lt;/label&gt;
                                      {{ form_widget(form.tel) }}
  
                                  &lt;/div&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Sujet &amp;nbsp;&lt;/label&gt;
                              {{ form_widget(form.sujet) }}
  
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Message&amp;nbsp;&lt;/label&gt;
                              {{ form_widget(form.message) }}
  
                          &lt;/div&gt;
                          &lt;div class="row"&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;button type="reset" class="btn btn-light"&gt;Annuler&lt;/button&gt;
                              &lt;/div&gt;
                              &lt;div class="col-md-6"&gt;
  
                                  {{ form_widget(form._token) }}
                                  &lt;button  type="submit" class="btn btn-base btn-icon btn-icon-right btn-fly pull-right"&gt;
                                      &lt;span&gt;Envoyer message&lt;/span&gt;
                                  &lt;/button&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/form&gt;
  </code></pre>
  
  <p>i have this routing: </p>
  
  <pre><code>front_office_send:
   path:     /Contact
   defaults: { _controller: frontOfficeBundle:Contact:send }
  </code></pre>
  
  <p>the error begin in the this line {{form_widget(form.nom)}} with the  variable form does not exist.</p>