activity: change fields order in form

This commit is contained in:
2021-05-27 13:27:40 +02:00
parent 0a5d20b16f
commit 52ee8c5a9a
2 changed files with 40 additions and 21 deletions

View File

@@ -115,6 +115,7 @@ class ActivityType extends AbstractType
$builder->add('attendee', EntityType::class, [
'label' => $activityType->getLabel('attendee'),
'required' => $activityType->isRequired('attendee'),
'expanded' => true,
'class' => ActivityPresence::class,
'choice_label' => function (ActivityPresence $activityPresence) {
return $this->translatableStringHelper->localize($activityPresence->getName());