diff --git a/blocks/texte_simple.html b/blocks/texte_simple.html index b1c64102fb5b147ef7ea8abdbc443fae0dc9431c..e680098205d71620b06ed5080019b38dc5d88285 100644 --- a/blocks/texte_simple.html +++ b/blocks/texte_simple.html @@ -1,2 +1,2 @@ -[<h2>(#INPUT_1)</h2>] -[(#TEXTAREA_1|propre)] +[<h2>(#TITRE)</h2>] +[(#TEXTE|propre)] diff --git a/blocks_administrations.php b/blocks_administrations.php index 478cc4018c961fc4f99ee2c6f24e6fed5d44ce0b..4ac7a783ae8ce10a40b70228048db7d19c005985 100644 --- a/blocks_administrations.php +++ b/blocks_administrations.php @@ -80,9 +80,10 @@ function blocks_installe_config() { [ 'options' => [ - 'nom' => 'titre', - 'label' => 'Titre', - 'conteneur_class' => 'pleine_largeur', + 'nom' => 'titre', + 'label' => 'Titre', + 'conteneur_class' => 'pleine_largeur', + 'obligatoire' => 'oui', ], 'identifiant' => uniqid('@'), 'saisie' => 'input', diff --git a/blocks_prive/texte_simple.html b/blocks_prive/texte_simple.html index b1c64102fb5b147ef7ea8abdbc443fae0dc9431c..e680098205d71620b06ed5080019b38dc5d88285 100644 --- a/blocks_prive/texte_simple.html +++ b/blocks_prive/texte_simple.html @@ -1,2 +1,2 @@ -[<h2>(#INPUT_1)</h2>] -[(#TEXTAREA_1|propre)] +[<h2>(#TITRE)</h2>] +[(#TEXTE|propre)]