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).
11 [% SET avs = AuthorisedValues.GetAuthValueDropbox( category, default ) %]
18 <select id="[% name %]" name="[% name %]" class="[% class %]" >
21 <option value="[% av.value %]" selected="selected">[% av.label | html_entity %]</option>
23 <option value="[% av.value %]">[% av.label | html_entity %]</option>
28 <input type="text" id="[% name %]" name="[% name %]" size="[% size %]" value="[% default | html_entity %]" class="[% class %]" />