Autorisations_-tendues/inclure/auth_choix.html
2020-02-12 13:31:41 +01:00

12 lines
401 B
HTML

#SET{name,aut_#ENV{type}}
<select id="#GET{name}"
[(#ENV{disabled}|oui) disabled]
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>