traduction du champ title (fixes #33010)
This commit is contained in:
parent
0745ecb6a1
commit
9199e9ff53
@ -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" => [
|
||||
|
Loading…
Reference in New Issue
Block a user