amélioration ergonomique du form

This commit is contained in:
Christophe 2021-03-11 22:00:10 +01:00
parent d4c87a1452
commit ea6db22723
3 changed files with 12 additions and 11 deletions

View file

@ -6,21 +6,18 @@
<form name="formulaire_#FORM" action="#ENV{action}" method="post"><div> <form name="formulaire_#FORM" action="#ENV{action}" method="post"><div>
#ACTION_FORMULAIRE{#ENV{action}} #ACTION_FORMULAIRE{#ENV{action}}
<fieldset> #GENERER_SAISIES{#ENV{_saisies}}
<legend><:gamucontact:votre_message:></legend>
#GENERER_SAISIES{#ENV{_saisies}}
</fieldset>
[(#REM) Piege a robots spammeurs ] [(#REM) Piege a robots spammeurs ]
<p style="display:none;"> <p style="display:none;">
<label for="contact_nobot"><:antispam_champ_vide:></label> <label for="contact_nobot"><:antispam_champ_vide:></label>
<input type="text" class="text" name="nobot" id="contact_nobot" value="#ENV{nobot}" size="10" /> <input type="text" class="text" name="nobot" id="contact_nobot" value="#ENV{nobot}" size="10" />
</p> </p>
<div class="boutons">
<div class="boutons mt-5">
<button type="submit" class="btn"> <button type="submit" class="btn">
<i class="fas fa-paper-plane"></i> <i class="fas fa-paper-plane"></i>&nbsp;<:gamucontact:envoyer:>
<:gamucontact:envoyer:></button> </button>
</div> </div>
</div></form> </div></form>
</div> </div>

View file

@ -40,6 +40,7 @@ $GLOBALS['gamucontact'] = [
'nom' => 'objet', 'nom' => 'objet',
'label' => 'Objet', 'label' => 'Objet',
'obligatoire' => 'oui', 'obligatoire' => 'oui',
'class' => 'w100'
//'fonction' => 'ma_super_fonction' //'fonction' => 'ma_super_fonction'
) )
], ],

View file

@ -15,6 +15,9 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'cfg_exemple_explication' => 'Explication de cet exemple', 'cfg_exemple_explication' => 'Explication de cet exemple',
'cfg_titre_parametrages' => 'Paramétrages', 'cfg_titre_parametrages' => 'Paramétrages',
// EE
'envoyer' => "Envoyer",
// T // T
'titre_page_configurer_gamucontact' => 'Gamu Contact', 'titre_page_configurer_gamucontact' => 'Gamu Contact',
); );