Commit 23a08a51 authored by Mat's avatar Mat
Browse files

LettreType, --> vers EntityType Groupe

parent afd5bb4f
......@@ -2,6 +2,7 @@
namespace PotageBundle\Form\Lettre;
use PotageBundle\Entity\Groupe;
use PotageBundle\Entity\Info;
use PotageBundle\Entity\Lettre;
use PotageBundle\Entity\Offre;
......@@ -58,7 +59,8 @@ class LettreType extends AbstractType
));
// groupe
$builder->add('groupe', ChoiceType::class, array(
$builder->add('groupe', EntityType::class, array(
'class' => Groupe::class,
'label' => "À destination d'un groupe",
'label_attr' => array('class' => 'col-form-label'),
'attr' => array('class' => 'form-control form-control-sm'),
......
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