fix new events page depreciations

This commit is contained in:
2018-12-20 11:36:39 +01:00
parent 49aeb075a4
commit 9f168a3a3c
2 changed files with 3 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ class EventController extends Controller
'method' => 'POST'
));
$form->add('submit', 'submit', array('label' => 'Create'));
$form->add('submit', SubmitType::class, array('label' => 'Create'));
return $form;
}