Browse Source

Inscription : ajout du téléphone

feature/export_comptable
Guillaume 4 years ago
parent
commit
528f22d5fd
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ShopBundle/Form/Frontend/RegistrationType.php

+ 4
- 0
ShopBundle/Form/Frontend/RegistrationType.php View File

'label' => 'field.default.lastname', 'label' => 'field.default.lastname',
'translation_domain' => 'lcshop', 'translation_domain' => 'lcshop',
]) ])
->add('phone', TextType::class, [
'label' => 'field.default.phone',
'translation_domain' => 'lcshop',
])
->add('subscribeNewsletter', CheckboxType::class, [ ->add('subscribeNewsletter', CheckboxType::class, [
'label' => 'field.default.subscribeNewsletter', 'label' => 'field.default.subscribeNewsletter',
'required' => false, 'required' => false,

Loading…
Cancel
Save