@@ -, +, @@ --- .../bootstrap/en/includes/av-build-dropbox.inc | 29 ++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc +++ a/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 %] --