source: spip-zone/_plugins_/forms/forms_et_tables_2_5/formulaires/forms_champ_multiple.html @ 65965

Last change on this file since 65965 was 65965, checked in by sblanc@…, 9 years ago
File size: 1.1 KB
Line 
1<BOUCLE_f(FORMS){id_form}>
2<BOUCLE_champs(FORMS_CHAMPS){id_form}{tout}{champ}> 
3<B_choix>
4        <input type='hidden' name='#ENV{name,#CHAMP}[]' id='input-#ID_FORM-#CHAMP' value='' />
5        <ul class="spip_form_choix_multiple[ (#ENV{crayon_active,''})]">
6        <BOUCLE_choix(FORMS_CHAMPS_CHOIX){id_form}{champ}{par rang}{1/2}><li>
7        <input type='checkbox' name='#ENV{name,#CHAMP}[]' id='input-#ID_FORM-#CHOIX' value='#CHOIX'
8        [(#CHOIX|in_any{[(#ENV**{valeur}|forms_valeur{#CHAMP})], ''}|?{'checked="checked"',''})] />
9        <label for='input-#ID_FORM-#CHOIX'>[(#TITRE|supprimer_numero)]</label></li>
10        </BOUCLE_choix>
11        </ul>
12</B_choix>
13<B_choix2>
14        <ul class="spip_form_choix_multiple[ (#ENV{crayon_active,''})]">
15        <BOUCLE_choix2(FORMS_CHAMPS_CHOIX){id_form}{champ}{par rang}{2/2}><li>
16        <input type='checkbox' name='#ENV{name,#CHAMP}[]' id='input-#ID_FORM-#CHOIX' value='#CHOIX'
17        [(#CHOIX|in_any{[(#ENV**{valeur}|forms_valeur{#CHAMP})], ''}|?{'checked="checked"',''})] />
18        <label for='input-#ID_FORM-#CHOIX'>[(#TITRE|supprimer_numero)]</label></li>
19        </BOUCLE_choix2>
20        </ul>
21</B_choix2>
22</BOUCLE_champs>
23</BOUCLE_f>
Note: See TracBrowser for help on using the repository browser.