mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-08 06:19:42 +00:00
adding a link to event types for link parent/categories
This commit is contained in:
@@ -134,7 +134,8 @@ class PickStatusType extends AbstractType
|
|||||||
'group_by' => null,
|
'group_by' => null,
|
||||||
'choice_attr' => function(Status $s) {
|
'choice_attr' => function(Status $s) {
|
||||||
return array(
|
return array(
|
||||||
'data-event-type' => $s->getType()->getId()
|
'data-event-type' => $s->getType()->getId(),
|
||||||
|
'data-link-category' => $s->getType()->getId()
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
'choice_label' => function(Status $s)
|
'choice_label' => function(Status $s)
|
||||||
|
Reference in New Issue
Block a user