add the possibility to add a participation of a person to an event

ref #5
This commit is contained in:
2016-03-24 01:44:32 +01:00
parent 167a147f52
commit 627b9fb08f
13 changed files with 489 additions and 5 deletions

View File

@@ -143,8 +143,8 @@ class EventController extends Controller
'centers' => $event->getCenter()
));
$builder->add('center_id', HiddenType::class, array(
'data' => $event->getCenter()->getId()
$builder->add('event_id', HiddenType::class, array(
'data' => $event->getId()
));
$builder->add('submit', SubmitType::class,