Category : label

I generated a registration form with Symfony’s console by running symfony console make:registration-form in a terminal. I am now trying to change the labels (the website is supposed to be in French), so here is what I did in FormRegistrationFormType.php: class RegistrationFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add(‘username’, null, ..

Read more