closed step added + form/controller/template basic start

This commit is contained in:
2021-11-18 14:46:33 +01:00
parent 0a522b465f
commit 5928215c0d
5 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace Chill\PersonBundle\Form;
use Chill\MainBundle\Form\Type\ChillDateType;
use Chill\PersonBundle\Form\Type\ClosingMotivePickerType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
class AccompanyingCourseType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('closingDate', ChillDateType::class,
[
'required' => true,
]);
$builder->add('closingMotive', ClosingMotivePickerType::class);
}
}