traduction du champ title (fixes #33010)

This commit is contained in:
Arnaud Fornerot 2021-10-18 10:21:20 +02:00
parent 0745ecb6a1
commit 9199e9ff53

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" => [