private function createCreateForm(JournalPost $entity)
{
$journal = $this->get('ojs.journal_service')->getSelectedJournal();
$form = $this->createForm(new JournalPostType(), $entity, ['action' => $this->generateUrl('ojs_journal_post_create', ['journalId' => $journal->getId()]), 'method' => 'POST']);
$form->add('submit', 'submit', ['label' => 'Create']);
return $form;
}