1 [% USE AuthorisedValues %]
4 name: the name of the select element
5 category: the authorised value category
6 default: the default authorised value to select
7 class: the CSS class of the select element
8 size: the size to use for the input (generated if the authorised value category does not exist).
12 [% SET avs = AuthorisedValues.GetAuthValueDropbox( category, default ) %]
19 <select id="[% name %]" name="[% name %]" class="[% class %]" >
20 [% IF all %]<option value="">All</option>[% END %]
23 <option value="[% av.value %]" selected="selected">[% av.label | html_entity %]</option>
25 <option value="[% av.value %]">[% av.label | html_entity %]</option>
30 <input type="text" id="[% name %]" name="[% name %]" size="[% size %]" value="[% default | html_entity %]" class="[% class %]" />