UX: [permissiongroup] sticky form more compact, and with help text

This commit is contained in:
2023-04-14 14:38:23 +02:00
parent 8042edc13c
commit 27415ce868
3 changed files with 9 additions and 2 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());
},