Maj de l'exemple

This commit is contained in:
Christophe 2022-05-12 10:06:10 +02:00
parent 056026027b
commit de77a13cb2

View file

@ -5,7 +5,16 @@ if (!defined('_ECRIRE_INC_VERSION')) {
function gamuform_exemple_dist(){ function gamuform_exemple_dist(){
$js = <<<EOF
<script>console.log('coucou');</script>
EOF;
return [ return [
'options' => [
'texte_submit' => 'Valider cest gagné',
'inserer_debut' => 'coucou le debut',
'inserer_fin' => $js,
],
[ [
'saisie' => 'input', 'saisie' => 'input',
'options' => [ 'options' => [
@ -59,7 +68,8 @@ function gamuform_exemple_dist(){
[ [
'gamutable' => [ 'gamutable' => [
'champ' => 'maj', 'champ' => 'maj',
'header' => 'toto', 'header' => '<:prefix:toto:>',
'classes' => 'w200p text-center',
'filtreCol' => 'input', 'filtreCol' => 'input',
] ]
], ],