Commit 80bef1f5 authored by Julien Minet's avatar Julien Minet

use fqcn for ClosingMotiveType class

parent 3fae866e
Pipeline #46330 canceled with stages
......@@ -12,6 +12,8 @@ use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Chill\PersonBundle\Form\Type\ClosingMotiveType;
class AccompanyingPeriodType extends AbstractType
{
/**
......@@ -48,7 +50,7 @@ class AccompanyingPeriodType extends AbstractType
) {
$form->add('closingDate', DateType::class, array('required' => true,
'widget' => 'single_text', 'format' => 'dd-MM-yyyy'));
$form->add('closingMotive', 'closing_motive');
$form->add('closingMotive', ClosingMotiveType::class);
}
});
......
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