Bug 19289: Use the ACQ framework to display bibliographic details
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / includes / html_helpers.inc
1 [% BLOCK options_for_libraries %]
2     [% FOREACH l IN libraries %]
3         [% IF l.selected %]
4             <option value="[% prefix %][% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
5         [% ELSE %]
6             <option value="[% prefix %][% l.branchcode | html %]">[% l.branchname |html %]</option>
7         [% END%]
8     [% END %]
9 [% END %]
10
11 [% BLOCK options_for_authorised_value_categories %]
12     [% FOREACH avc IN authorised_value_categories %]
13         [% IF avc.selected %]
14             <option value="[% avc.category %]" selected="selected">[% avc.category %]</option>
15         [% ELSE %]
16             <option value="[% avc.category %]">[% avc.category %]</option>
17         [% END %]
18     [% END %]
19 [% END %]
20
21 [% BLOCK options_for_item_types %]
22     [% FOREACH itemtype IN itemtypes %]
23         [% IF itemtype.itemtype == selected_itemtype %]
24             <option value="[% itemtype.itemtype %]" selected="selected">
25         [% ELSE %]
26             <option value="[% itemtype.itemtype %]">
27         [% END %]
28             [% itemtype.translated_description %]
29         </option>
30     [% END %]
31 [% END %]