diff --git a/src/Bundle/ChillActivityBundle/Form/ActivityType.php b/src/Bundle/ChillActivityBundle/Form/ActivityType.php index 0332173eb..7540d4872 100644 --- a/src/Bundle/ChillActivityBundle/Form/ActivityType.php +++ b/src/Bundle/ChillActivityBundle/Form/ActivityType.php @@ -188,6 +188,7 @@ class ActivityType extends AbstractType 'choice_label' => function (ActivityReason $activityReason) { return $this->translatableStringHelper->localize($activityReason->getName()); }, + 'attr' => array('class' => 'select2 '), 'query_builder' => function (EntityRepository $er) { return $er->createQueryBuilder('a') ->where('a.active = true');