From 087e26f417573566bb1570b6412d9516caf762ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Tue, 28 Jan 2025 10:29:22 +0100 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Fix=20r=C3=B4le=20du=20dossier=20v?= =?UTF-8?q?ers=20Groupe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Command/CreateUserCommand.php | 2 +- src/Form/UserAdminType.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/CreateUserCommand.php b/src/Command/CreateUserCommand.php index c5e6bfd..528bca4 100755 --- a/src/Command/CreateUserCommand.php +++ b/src/Command/CreateUserCommand.php @@ -38,7 +38,7 @@ class CreateUserCommand extends Command $email = $io->ask('Email de l\'utilisateur'); $password = $io->askHidden('Mot de passe de l\'utilisateur'); $isAdmin = $io->confirm('Est-ce un administrateur ?'); - $folderRole = $io->choice('RĂ´le du dossier', array_map(static fn ($role) => $role->value, RoleEnum::cases()), RoleEnum::VISITEUR->value); + $folderRole = $io->choice('Groupe', array_map(static fn ($role) => $role->value, RoleEnum::cases()), RoleEnum::VISITEUR->value); try { $user = $this->userRepository->findOneBy(['email' => $email]); diff --git a/src/Form/UserAdminType.php b/src/Form/UserAdminType.php index e368351..c16bb74 100755 --- a/src/Form/UserAdminType.php +++ b/src/Form/UserAdminType.php @@ -27,7 +27,7 @@ class UserAdminType extends AbstractType 'label' => 'Adresse email', ]) ->add('folderRole', EnumType::class, [ - 'label' => 'Role du dossier', + 'label' => 'Groupe', 'class' => RoleEnum::class, ]) ->add('role', ChoiceType::class, [