From 9199e9ff5358e0bd16bf61e5e3db6c21e65cf520 Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 18 Oct 2021 10:21:20 +0200 Subject: [PATCH] traduction du champ title (fixes #33010) --- src/ninesurvey-1.0/src/Form/SurveyheaderType.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ninesurvey-1.0/src/Form/SurveyheaderType.php b/src/ninesurvey-1.0/src/Form/SurveyheaderType.php index f9cd446..f0920d6 100644 --- a/src/ninesurvey-1.0/src/Form/SurveyheaderType.php +++ b/src/ninesurvey-1.0/src/Form/SurveyheaderType.php @@ -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" => [