mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
42 lines
2.3 KiB
HTML
42 lines
2.3 KiB
HTML
|
<div class="formulaire_spip formulaire_configurer formulaire_#FORM formulaire_#FORM-#ENV{id,nouveau}">
|
||
|
<h3 class='titrem'><img src="#CHEMIN_IMAGE{rubrique-24.png}" class="cadre-icone" /><:icone_rubriques:></h3>
|
||
|
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
|
||
|
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
|
||
|
[(#ENV{editable})
|
||
|
<p><:config_activer_champs:></p>
|
||
|
<form method='post' action='#ENV{action}'><div>
|
||
|
[(#REM) declarer les hidden qui declencheront le service du formulaire
|
||
|
parametre : url d'action ]
|
||
|
#ACTION_FORMULAIRE{#ENV{action}}
|
||
|
<ul>
|
||
|
#SET{name,rubriques_descriptif}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||
|
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
|
||
|
<label for="#GET{name}"><:info_descriptif:></label>[
|
||
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
||
|
]<div class="choix">
|
||
|
<input type="radio" name="#GET{name}" id="#GET{name}_oui" value="oui"
|
||
|
[(#ENV{#GET{name}}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:item_oui:></label>
|
||
|
|
||
|
<input type="radio" name="#GET{name}" id="#GET{name}_non" value="non"
|
||
|
[(#ENV{#GET{name}}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:item_non:></label>
|
||
|
</div>
|
||
|
</li>
|
||
|
#SET{name,rubriques_texte}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||
|
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
|
||
|
<label for="#GET{name}"><:info_texte:></label>[
|
||
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
||
|
]<div class="choix">
|
||
|
<input type="radio" name="#GET{name}" id="#GET{name}_oui" value="oui"
|
||
|
[(#ENV{#GET{name}}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:item_oui:></label>
|
||
|
|
||
|
<input type="radio" name="#GET{name}" id="#GET{name}_non" value="non"
|
||
|
[(#ENV{#GET{name}}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:item_non:></label>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
|
||
|
<!--extra-->
|
||
|
<p class='boutons'><span class='image_loading'> </span><input type='submit' class='submit' value='<:bouton_enregistrer:>' /></p>
|
||
|
</div></form>
|
||
|
]
|
||
|
</div>
|