[% USE AuthorisedValues %] [%# Parameters: %] [%# name: the name of the select element %] [%# category: the authorised value category %] [%# default: the default authorised value to select %] [%# class: the CSS class of the select element %] [%# size: the size to use for the input (generated if the authorised value category does not exist). %] [%# all: add a "All" entry. All and empty should not be used at the same time. %] [%# empty: add an empty entry. All and empty should not be used at the same time. %] [% SET avs = AuthorisedValues.GetAuthValueDropbox( category ) %] [% DEFAULT class = '' size = 20 %] [% IF avs %] [% ELSE %] [% END %]