Ojs\AdminBundle\Controller\AdminJournalApplicationFileController::newAction PHP Method

newAction() public method

Displays a form to create a new Index entity.
public newAction ( )
    public function newAction()
    {
        $entity = new JournalApplicationFile();
        $form = $this->createCreateForm($entity)->add('create', 'submit', array('label' => 'c'));
        return $this->render('OjsAdminBundle:AdminJournalApplicationFile:new.html.twig', array('entity' => $entity, 'form' => $form->createView()));
    }