@@ -81,10 +81,10 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
81
81
$ fieldsMap = [
82
82
'firstname ' => ['field ' => 'firstname ' , 'type ' => TextType::class, 'label ' => 'Firstname ' ],
83
83
'lastname ' => ['field ' => 'lastname ' , 'type ' => TextType::class, 'label ' => 'Lastname ' ],
84
- 'officialcode ' => ['field ' => 'official_code ' , 'type ' => TextType::class, 'label ' => 'Official Code ' ],
85
- 'email ' => ['field ' => 'email ' , 'type ' => EmailType::class, 'label ' => 'Email ' ],
84
+ 'officialcode ' => ['field ' => 'official_code ' , 'type ' => TextType::class, 'label ' => 'Official code ' ],
85
+ 'email ' => ['field ' => 'email ' , 'type ' => EmailType::class, 'label ' => 'E-mail ' ],
86
86
'picture ' => ['field ' => 'illustration ' , 'type ' => IllustrationType::class, 'label ' => 'Picture ' , 'mapped ' => false ],
87
- 'login ' => ['field ' => 'login ' , 'type ' => TextType::class, 'label ' => 'Login ' ],
87
+ 'login ' => ['field ' => 'login ' , 'type ' => TextType::class, 'label ' => 'Username ' ],
88
88
'password ' => ['field ' => 'password ' , 'type ' => PasswordType::class, 'label ' => 'Password ' , 'mapped ' => false , 'required ' => false ],
89
89
'language ' => [
90
90
'field ' => 'locale ' ,
@@ -95,8 +95,8 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
95
95
'placeholder ' => null ,
96
96
'choice_translation_domain ' => false ,
97
97
],
98
- 'phone ' => ['field ' => 'phone ' , 'type ' => TextType::class, 'label ' => 'Phone Number ' ],
99
- 'theme ' => ['field ' => 'theme ' , 'type ' => TextType::class, 'label ' => 'Theme ' ],
98
+ 'phone ' => ['field ' => 'phone ' , 'type ' => TextType::class, 'label ' => 'Phone number ' ],
99
+ 'theme ' => ['field ' => 'theme ' , 'type ' => TextType::class, 'label ' => 'Theme (stylesheet) ' ],
100
100
101
101
// Core date_of_birth → entity property dateOfBirth
102
102
'date_of_birth ' => [
0 commit comments