Merge branch 'admin-permissionsgroup-templates' into 'master'

Improve permissionsgroup page in admin templates

See merge request Chill-Projet/chill-bundles!504
This commit is contained in:
2023-04-21 15:36:00 +00:00
17 changed files with 215 additions and 134 deletions

View File

@@ -88,6 +88,7 @@ class ComposedRoleScopeType extends AbstractType
])
->add('scope', EntityType::class, [
'class' => Scope::class,
'placeholder' => 'Choose amongst scopes',
'choice_label' => static function (Scope $scope) use ($translatableStringHelper) {
return $translatableStringHelper->localize($scope->getName());
},