Controller/ScopeController.php
public function newAction()
    {
        $scope = new Scope();
        $form   = $this->createCreateForm($scope);

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

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