public function newAction()
{
$journal = $this->get('ojs.journal_service')->getSelectedJournal();
if (!$this->isGranted('CREATE', $journal, 'theme')) {
throw new AccessDeniedException("You are not authorized for view this page");
}
$entity = new JournalTheme();
$entity->setJournal($journal);
$form = $this->createCreateForm($entity);
return $this->render('OjsJournalBundle:Theme:new.html.twig', array('entity' => $entity, 'form' => $form->createView()));
}