mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
use fqcn for ClosingMotiveType class
This commit is contained in:
parent
3fae866e2e
commit
80bef1f558
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user