public function index(Application $app, Request $form) { $articles = new Articles(); $articles->createForm($app, $form); return $app['twig']->render('article-add.twig', array('form' => $articles->form->createView())); }