Autorisations_-tendues/inclure/auth_choix.html
2020-02-10 20:21:07 +01:00

10 lines
395 B
HTML

#SET{name,aut_#ENV{type}}
<select id="#GET{name}"
data-id_auteur="#ID_AUTEUR"
name="id-#ID_AUTEUR[][#ENV{type}]" class="select select_autorisation chosen" multiple>
<option value=""></option>
<BOUCLE_choix(DATA){source tableau,#ENV{faire}}>
<option value="#VALEUR" [(#VALEUR|in_array{#ENV{autorisations,#ARRAY}}|oui) selected]
>[(#VALEUR|majuscules)]</option>
</BOUCLE_choix>
</select>