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