adding a link to event types for link parent/categories

This commit is contained in:
Julien Fastré 2016-05-27 15:44:28 +02:00
parent ca2d4db6f9
commit 329d688b5a

View File

@ -134,7 +134,8 @@ class PickStatusType extends AbstractType
'group_by' => null,
'choice_attr' => function(Status $s) {
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)