Merge branch 'master' into dist/envole/7/master

This commit is contained in:
Arnaud Fornerot 2021-10-18 10:45:39 +02:00
commit 38b669a08a
1 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@ namespace App\Form;
use App\Entity\Survey;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
use Symfony\Component\Form\FormBuilderInterface;
@ -17,7 +18,9 @@ class SurveyheaderType extends AbstractType
{
switch ($options['flow_step']) {
case 1:
$builder->add('title');
$builder->add('title',TextType::class, [
"label" => "Titre"
]);
$builder->add('description',CKEditorType::class, [
"required" => false,
"config" => [