private createStartForm ( array $checkListsChoices, Ojs\JournalBundle\Entity\ArticleSubmissionStart $entity ) : Symfony\Component\Form\FormInterface | ||
$checkListsChoices | array | |
$entity | Ojs\JournalBundle\Entity\ArticleSubmissionStart | |
return | Symfony\Component\Form\FormInterface |
private function createStartForm(array $checkListsChoices, ArticleSubmissionStart $entity)
{
$form = $this->createForm(new ArticleStartType(), $entity, array('checkListsChoices' => $checkListsChoices, 'method' => 'POST'))->add('save', 'submit', array('label' => 'save.next', 'attr' => array('class' => 'btn-block')));
return $form;
}