Make allow checkbox for permissions green

This commit is contained in:
Jan Böhmer 2022-11-13 18:44:51 +01:00
parent e2875adc22
commit 70120bdaa9
3 changed files with 14 additions and 4 deletions

View file

@ -97,6 +97,9 @@ class PermissionType extends AbstractType
'mapped' => false,
'label' => $operation['label'] ?? null,
'disabled' => $options['disabled'],
'attr' => [
'class' => 'permission-checkbox tristate',
],
'label_attr' => [
'class' => 'checkbox-inline opacity-100',
],