X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;f=formulaires%2Fsouscription.html;h=b238b7df13b35ed62b46ac44529e0dc5be0e6392;hb=14e449b56a5f4ea4a0bf0dfded520f77a97dcc54;hp=6a2a92727924c8493297d681e98181ca044b6331;hpb=512add64063389b466af8f26fb1172abec1d4b6a;p=spip_souscriptions.git diff --git a/formulaires/souscription.html b/formulaires/souscription.html index 6a2a927..b238b7d 100644 --- a/formulaires/souscription.html +++ b/formulaires/souscription.html @@ -1,4 +1,9 @@ -
+[(#SET{liste_pays,#ARRAY{}})] + + [(#SET{liste_pays, #GET{liste_pays}|array_merge{#ARRAY{#CODE, #NOM}}})] + + +
[

(#ENV**{message_ok})

] [

(#ENV*{message_erreur})

] @@ -6,34 +11,127 @@
#ACTION_FORMULAIRE{#ENV{action}} + + [

+ (#CONFIG{souscription/dispositions_fiscales_explications}|nl2br) +

] +
    - [(#SAISIE{input, courriel, obligatoire=oui, label=<:souscription:label_courriel:>})] - [(#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})] + #SET{name,montant}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • + [ + (#GET{erreurs}) + ][(#INCLURE{fond=formulaires/inc-souscription-#ENV{montant_type},name=#GET{name},valeur=#ENV*{#GET{name},#GET{defaut}},obli=#GET{obli},montants=#ENV{_montant_datas}})] + [

    (#ENV{montant_explication})

    ] +
  • + #SET{name,courriel}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • + [ + (#GET{erreurs}) + ] +
  • + #SET{name,recu_fiscal}#SET{obli,''}#SET{defaut,'non'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • [ + (#GET{erreurs}) + ] + #SET{val,off} + + #SET{val,on} +
    + + +
    +
  • +
  • +
    + <:souscription:label_legende_bloc_fiscal:> + [(#INCLURE{fond=inclure/souscription_bloc_fiscal_intro,type_souscription=#ENV{type_souscription}})] +
      + #SET{name1,prenom}#SET{obli1,'obligatoire'}#SET{defaut1,''}#SET{erreurs1,#ENV**{erreurs}|table_valeur{#GET{name1}}} + #SET{name2,nom}#SET{obli2,'obligatoire'}#SET{defaut2,''}#SET{erreurs2,#ENV**{erreurs}|table_valeur{#GET{name2}}} +
    • +
      + [ + (#GET{erreurs1}) + ] +
      +
      + [ + (#GET{erreurs2}) + ] +
      +
    • + #SET{name,adresse}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
    • + [ + (#GET{erreurs}) + ] +
    • + #SET{name1,code_postal}#SET{obli1,'obligatoire'}#SET{defaut1,''}#SET{erreurs1,#ENV**{erreurs}|table_valeur{#GET{name1}}} + #SET{name2,ville}#SET{obli2,'obligatoire'}#SET{defaut2,''}#SET{erreurs2,#ENV**{erreurs}|table_valeur{#GET{name2}}} +
    • +
      + [ + (#GET{erreurs1}) + ] +
      +
      + [ + (#GET{erreurs2}) + ] +
      +
    • + [(#SAISIE{selection, pays, label=<:souscription:label_pays:>, datas=#GET{liste_pays}})] + #SET{name,telephone}#SET{obli,''}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
    • + [ + (#GET{erreurs}) + ] +
    • +
    +
    +
  • + + + #SET{name,envoyer_info}#SET{obli,''}#SET{defaut,'non'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • [ + (#GET{erreurs}) + ] + #SET{val,off} + + #SET{val,on} +
    + + +
    +
  • + + [(#ENV{type_souscription}|=={adhesion}|oui) + [(#SAISIE{oui_non, informer_comite_local, label=<:souscription:label_informer_comite_local:> })] + ]
-
- Informations complémentaires - [(#INCLURE{fond=inclure/souscription_bloc_fiscal_intro,type_souscription=#ENV{type_souscription}})] -
    - [(#SAISIE{input, prenom, label=<:souscription:label_prenom:>})] - [(#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, pays, label=<:souscription:label_pays:>})] -
-

]
+ + \ No newline at end of file