diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc new file mode 100644 index 0000000000..08536857a8 --- /dev/null +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc @@ -0,0 +1,29 @@ +[% 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). +%] + +[% SET avs = AuthorisedValues.GetAuthValueDropbox( category, default ) %] +[% DEFAULT + class = '' + size = 20 +%] + +[% IF avs %] + +[% ELSE %] + +[% END %]