-
Passing a
FormView
instance is no longer supported. You'll have to pass its underlyingForm
instance instead, i.e. remove thecreateView
call in your action.before:
// in your action return $this->render('MyCompanyMyBundle:MyStuff:myTemplate.html.twig', array( 'form' => $form->createView(), )); // in your template {{ form_widget(cloneForm(form)) }}
after:
// in your action return $this->render('MyCompanyMyBundle:MyStuff:myTemplate.html.twig', array( 'form' => $form, )); // in your template {{ form_widget(cloneForm(form)) }}