public function step3Action(Request $request) { $this->checkInstall(); // @todo: check if all data from step 2 is available // show modules form $form = $this->createForm(new ModulesType(), $this->getInstallationData($request)); $handler = new ModulesHandler(); if ($handler->process($form, $request)) { return $this->redirect($this->generateUrl('install_step4')); } return $this->render('ForkCMSInstallerBundle:Installer:step3.html.twig', array('form' => $form->createView())); }