Commit 389694a7 authored by Mat's avatar Mat
Browse files

hop

parent b2609a44
......@@ -4,6 +4,8 @@ namespace AssoBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* Membre
......@@ -67,7 +69,7 @@ class Membre
* )
* @Assert\Email(
* message = "L'adresse mail {{ value }} n'est pas valide",
* checkMX = true
* checkMX = false
* )
*/
private $email;
......
......@@ -81,7 +81,7 @@ class MembreType extends AbstractType
'attr' => array(
'class' => 'form-control form-control-sm'
),
'choice_label' => 'getFullName' // le texte du select
'choice_label' => 'getNom' // le texte du select
));
$builder->add('enregistrer', SubmitType::class, array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment