src/Cpm/JovenesBundle/Controller/BloqueController.php
/**
     * Displays a form to create a new Bloque entity.
     *
     * @Route("/new", name="bloque_new")
     * @Template()
     */
Displays a form to create a new Bloque entity.
Displays a form to create a new Bloque entity .
public function newAction()
    {
        $entity = new Bloque();
        $form   = $this->createForm(new BloqueType(), $entity);
        return array(
            'entity' => $entity,
            'form'   => $form->createView()
        );
    }
public function newAction ( ) { $ entity = new Bloque ( ) ; $ form = $ this -> createForm ( new BloqueType ( ) , $ entity ) ; return array ( 'entity' => $ entity , 'form' => $ form -> createView ( ) ) ; }
Displays a form to create a new Bloque entity.
Displays a form to create a new Bloque entity .