public function newAction()
    {
        $job = new Job();
        $form = $this->createForm(new JobType(), $job);

        return array(
            'job' => $job,
            'form' => $form->createView(),
        );
    }
public function newAction()
    {
        $job = new Job();
        $form = $this->createForm(new JobType(), $job);

        return array(
            'job' => $job,
            'form' => $form->createView(),
        );
    }
public function newAction ( ) { $ job = new Job ( ) ; $ form = $ this -> createForm ( new JobType ( ) , $ job ) ; return array ( 'job' => $ job , 'form' => $ form -> createView ( ) , ) ; }
Displays a form to create a new Job entity.

@Route("/new", name="admin_amulen_job_new")
@Method("GET")
@Template()
Displays a form to create a new Job entity .