mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-03 15:36:14 +00:00
Adding the js function categoryLinkParentChildSelect for center and scope
This commit is contained in:
parent
2cb4ee8bb9
commit
9eed387285
@ -80,8 +80,10 @@ class EventType extends AbstractType
|
||||
->add('center', EntityType::class, array(
|
||||
'class' => Center::class,
|
||||
'choices' => $userReachableCenters,
|
||||
'attr' => array('class' => 'select2 chill-category-link-parent'),
|
||||
'choice_attr' => function (Center $center) {
|
||||
return array(
|
||||
'class' => ' chill-category-link-parent',
|
||||
'data-link-category' => $center->getId()
|
||||
);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user