Browse Source

Ajout champs subscribeNewsletter au formulaire d'inscription

reduction
Guillaume 4 years ago
parent
commit
151b8696c1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ShopBundle/Form/RegistrationType.php

+ 5
- 0
ShopBundle/Form/RegistrationType.php View File

]) ])
->add('lastName', TextType::class, [ ->add('lastName', TextType::class, [
'label' => 'Nom' 'label' => 'Nom'
])
->add('subscribeNewsletter', CheckboxType::class, [
'label' => 'S\'inscrire à la newsletter',
'required' => false,
'mapped' => false
]); ]);
} }



Loading…
Cancel
Save