mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-11 08:27:44 +00:00
WIP change animator field to animator intern and animator extern
This commit is contained in:
@@ -68,20 +68,15 @@ class EventType extends AbstractType
|
||||
->add('moderator', PickUserDynamicType::class, [
|
||||
'label' => 'Pick a moderator',
|
||||
])
|
||||
->add('animators', ChillCollectionType::class, [
|
||||
'entry_type' => PickAnimatorType::class,
|
||||
'entry_options' => [
|
||||
'label' => false,
|
||||
],
|
||||
'allow_add' => true,
|
||||
'allow_delete' => true,
|
||||
'by_reference' => false,
|
||||
'prototype' => true,
|
||||
'label' => 'Animators',
|
||||
'help' => 'Add users or third parties who will animate this event',
|
||||
'attr' => [
|
||||
'data-collection' => 'true', // For JS handling
|
||||
],
|
||||
->add('animatorsIntern', PickUserDynamicType::class, [
|
||||
'multiple' => true,
|
||||
'label' => 'Pick an internal animator',
|
||||
'required' => false,
|
||||
])
|
||||
->add('animatorsExtern', PickThirdpartyDynamicType::class, [
|
||||
'multiple' => true,
|
||||
'label' => 'Pick an external animator',
|
||||
'required' => false,
|
||||
])
|
||||
->add('budgetElements', ChillCollectionType::class, [
|
||||
'entry_type' => AddEventBudgetElementType::class,
|
||||
|
||||
Reference in New Issue
Block a user