public function commentFormAction(Post $post) { $form = $this->createForm('AppBundle\\Form\\CommentType'); return $this->render('blog/_comment_form.html.twig', array('post' => $post, 'form' => $form->createView())); }