Controller/PermissionsGroupController.php
public function newAction()
    {
        $permissionsGroup = new PermissionsGroup();
        $form   = $this->createCreateForm($permissionsGroup);

        return $this->render('ChillMainBundle:PermissionsGroup:new.html.twig', array(
            'entity' => $permissionsGroup,
            'form'   => $form->createView(),
        ));
    }
public function newAction()
    {
        $permissionsGroup = new PermissionsGroup();
        $form   = $this->createCreateForm($permissionsGroup);

        return $this->render('ChillMainBundle:PermissionsGroup:new.html.twig', array(
            'entity' => $permissionsGroup,
            'form'   => $form->createView(),
        ));
    }
public function newAction ( ) { $ permissionsGroup = new PermissionsGroup ( ) ; $ form = $ this -> createCreateForm ( $ permissionsGroup ) ; return $ this -> render ( 'ChillMainBundle:PermissionsGroup:new.html.twig' , array ( 'entity' => $ permissionsGroup , 'form' => $ form -> createView ( ) , ) ) ; }
Displays a form to create a new PermissionsGroup entity.
Displays a form to create a new PermissionsGroup entity .