]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/opac/parts/format_selector.tt2
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
[working/Evergreen.git] / Open-ILS / web / templates / default / opac / parts / format_selector.tt2
1 [%  name = name || "item_type";
2     id = id || "format_selector" %]
3 <select id='[% id %]' name='[% name %]'[%
4     multiple ? ' multiple="multiple"' : '';
5     size ? (' size="' _ size _ '"') : ''; %]>
6     <option value=''>[% l("All Formats") %]</option>
7 [% FOR o IN item_types %]
8     <option value='[% o.code %]'[% value == o.code ? ' selected="selected"' : ''%]>[% o.name %]</option>
9 [%- END %]
10 <!--
11         <option value='at'>[% l("Books") %]</option>
12         <option value='at-d'>[% l("Large Print Books") %]</option>
13         <option value='i'>[% l("Audiobooks") %]</option>
14         <option value='g'>[% l("Video Recordings") %]</option>
15         <option value='j'>[% l("Music") %]</option>
16         <option value='m'>[% l("Electronic Resources") %]</option>
17 -->
18 </select>