diff --git a/saisies/champ.html b/saisies/champ.html index d1c9af4d3725e937d0b731590b1d123e080741b9..68416e647418528d2c8cf164e09a773269220f37 100644 --- a/saisies/champ.html +++ b/saisies/champ.html @@ -15,12 +15,12 @@ ] [(#SET{tab,[(#ENV{formulaire}|saisies_lister_avec_type{#GET{forcer_type},'',true})]})] ] - <BOUCLE_parcours(POUR){tableau #GET{tab}}> - #SET{nom,#VALEUR|table_valeur{options}|table_valeur{nom}} - #SET{label,#VALEUR|table_valeur{options}|table_valeur{label}|sinon{#VALEUR|table_valeur{options/label_case}}sinon{#GET{nom}}} + <BOUCLE_parcours(DATA){source tableau, #GET{tab}}{valeur/saisie!='explication'}> + #SET{nom,#VALEUR{options/nom}} + #SET{label,#VALEUR{options/label}|sinon{#VALEUR{options/label_case}}|sinon{#GET{nom}}} #SET{enfants,#ARRAY} - <BOUCLE_enfants(POUR){tableau #VALEUR|table_valeur{'saisies'}}> - #SET{enfant,#ARRAY{#VALEUR|table_valeur{options}|table_valeur{nom},#VALEUR|table_valeur{options}|table_valeur{label}}} + <BOUCLE_enfants(DATA){source tableau, #VALEUR{saisies}} {valeur/saisie!='explication'}> + #SET{enfant,#ARRAY{#VALEUR{options/nom},#VALEUR{options/label}|sinon{#VALEUR{options/label_case}|sinon{#VALEUR{options/nom}}}}} #SET{enfants,#GET{enfants}|array_merge{#GET{enfant}}} <BOUCLE_petits_enfants(BOUCLE_enfants) /> </BOUCLE_enfants>