X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;f=formulaires%2Fsouscription.html;h=c5cbc19a211587cc77ba273c198dae3cb6a85a06;hb=c20bfd6cc66f4fd9cb3866b8b8733fdb2d6c1be6;hp=aa868530bf19d8025d485c46b49a1643590520e2;hpb=f961ee16b23c0b420398694427fe081e4a7b1c41;p=spip_souscriptions.git diff --git a/formulaires/souscription.html b/formulaires/souscription.html index aa86853..c5cbc19 100644 --- a/formulaires/souscription.html +++ b/formulaires/souscription.html @@ -1,15 +1,26 @@ +[(#SET{liste_pays,#ARRAY{}})] + + [(#SET{liste_pays, #GET{liste_pays}|array_merge{#ARRAY{#CODE, #NOM}}})] + +
[

(#ENV**{message_ok})

] [

(#ENV*{message_erreur})

] [(#ENV{editable})
+ #ACTION_FORMULAIRE{#ENV{action}}
    [(#SAISIE{input, courriel, obligatoire=oui, label=<:souscription:label_courriel:>})] - [(#SAISIE{input, montant, obligatoire=oui, label=<:souscription:label_montant:>})] + [(#SAISIE{#CONFIG{souscription/#ENV{type_souscription}|concat{_type_saisie},input}, + montant, + obligatoire=oui, + label=<:souscription:label_montant:>, + datas=#CONFIG{souscription/#ENV{type_souscription}|concat{_montants}}})] [(#SAISIE{oui_non, recu_fiscal, label=<:souscription:label_recu_fiscal:>})] [(#SAISIE{oui_non, envoyer_info, label=<:souscription:label_envoyer_info:> })] + [(#ENV{type_souscription}|=={adhesion}|oui) [(#SAISIE{oui_non, informer_comite_local, label=<:souscription:label_informer_comite_local:> })]] [(#SAISIE{hidden, id_souscription_campagne})] [(#SAISIE{hidden, type_souscription})]
@@ -22,7 +33,8 @@ [(#SAISIE{input, nom, label=<:souscription:label_nom:>})] [(#SAISIE{textarea, adresse, label=<:souscription:label_adresse:>, rows=3})] [(#SAISIE{input, code_postal, label=<:souscription:label_code_postal:>})] - [(#SAISIE{input, ville, label=<:souscription:label_ville:>})] + [(#SAISIE{input, ville, label=<:souscription:label_ville:>})] + [(#SAISIE{selection, pays, label=<:souscription:label_pays:>, datas=#GET{liste_pays}})]