Merge branch 'master' into dist/envole/7/master
This commit is contained in:
commit
38b669a08a
@ -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