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 App\Entity\Survey;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
|
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
|
||||||
use Symfony\Component\Form\AbstractType;
|
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\CheckboxType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
|
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
|
@ -17,7 +18,9 @@ class SurveyheaderType extends AbstractType
|
||||||
{
|
{
|
||||||
switch ($options['flow_step']) {
|
switch ($options['flow_step']) {
|
||||||
case 1:
|
case 1:
|
||||||
$builder->add('title');
|
$builder->add('title',TextType::class, [
|
||||||
|
"label" => "Titre"
|
||||||
|
]);
|
||||||
$builder->add('description',CKEditorType::class, [
|
$builder->add('description',CKEditorType::class, [
|
||||||
"required" => false,
|
"required" => false,
|
||||||
"config" => [
|
"config" => [
|
||||||
|
|
Loading…
Reference in New Issue