use fqcn for ClosingMotiveType class

This commit is contained in:
nobohan 2018-04-06 08:16:26 +02:00
parent 3fae866e2e
commit 80bef1f558

View File

@ -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);
}
});