private function createCreateForm(AdminPost $entity)
{
$form = $this->createForm(new AdminPostType(), $entity, ['action' => $this->generateUrl('ojs_admin_post_create'), 'method' => 'POST']);
$form->add('submit', 'submit', ['label' => 'Create']);
return $form;
}