Bug 13941: [2/2] Fix <body> tags missing id/class
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / course_reserves / add_items-step2.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Course reserves &rsaquo; Add items</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5
6 <body id="courses_add_items_step2" class="course">
7
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'cat-search.inc' %]
10
11 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> &rsaquo; Reserve <i><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]">[% item.title %]</a></i> for <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]">[% course.course_name %]</a></i></div>
12
13 <div id="doc" class="yui-t7">
14     <div id="bd">
15
16         [% IF course_reserve %]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %]
17         [% IF course_item %]<div class="dialog message" id="already_on_reserve">Number of courses reserving this item: [% course_item.course_reserves.size %]</div>[% END %]
18
19         <form method="post" action="/cgi-bin/koha/course_reserves/add_items.pl">
20             <input type="hidden" name="course_id" value="[% course.course_id %]" />
21             <input type="hidden" name="return" value="[% return %]" />
22             <input type="hidden" name="action" value="add" />
23
24             <fieldset class="rows">
25                 <legend>Add <i>[% item.title %]</i> to <i>[% course.course_name %]</i></legend>
26                 <ol>
27                     <li>
28                         <span class="label">Barcode:</span>
29                         <span id="barcode">[% item.barcode %]</span>
30                         <input type="hidden" name="itemnumber" value="[% item.itemnumber %]" />
31                     </li>
32
33                     [% IF item_level_itypes %]
34                     <li>
35                         <label class="required" for="itype">Item type:</label>
36                         <select id="itype" name="itype">
37                             <option value="">LEAVE UNCHANGED</option>
38
39                             [% FOREACH it IN itypes %]
40                                 [% IF course_item.itype && ( ( course.enabled == 'yes' && it.itemtype == item.itype ) || ( course.enabled == 'no' && it.itemtype == course_item.itype ) ) %]
41                                     <option value="[% it.itemtype %]" selected="selected">[% it.description %]</option>
42                                 [% ELSE %]
43                                     <option value="[% it.itemtype %]">[% it.description %]</option>
44                                 [% END %]
45                             [% END %]
46                         </select>
47                     </li>
48                     [% END %]
49
50                     <li>
51                         <label class="required" for="ccode">Collection code:</label>
52                         <select id="ccode" name="ccode">
53                             <option value="">LEAVE UNCHANGED</option>
54
55                             [% FOREACH c IN ccodes %]
56                                 [% IF course_item.ccode && ( ( course.enabled == 'yes' && c.authorised_value == item.ccode ) || ( course.enabled == 'no' && c.authorised_value == course_item.ccode ) ) %]
57                                     <option value="[% c.authorised_value %]" selected="selected">[% c.lib %]</option>
58                                 [% ELSE %]
59                                     <option value="[% c.authorised_value %]">[% c.lib %]</option>
60                                 [% END %]
61                             [% END %]
62                         </select>
63                     </li>
64
65                     <li>
66                         <label class="required" for="location">Shelving location:</label>
67                         <select id="location" name="location">
68                             <option value="">LEAVE UNCHANGED</option>
69
70                             [% FOREACH s IN locations %]
71                                 [% IF course_item.location && ( ( course.enabled == 'yes' && s.authorised_value == item.location ) || ( course.enabled == 'no' && s.authorised_value == course_item.location ) ) %]
72                                     <option value="[% s.authorised_value %]" selected="selected">[% s.lib %]</option>
73                                 [% ELSE %]
74                                     <option value="[% s.authorised_value %]">[% s.lib %]</option>
75                                 [% END %]
76                             [% END %]
77                         </select>
78                     </li>
79
80                     <li>
81                         <label class="required" for="holdingbranch">Holding library:</label>
82                         <select id="holdingbranch" name="holdingbranch">
83                             <option value="">LEAVE UNCHANGED</option>
84
85                             [% FOREACH b IN branches %]
86                                 [% IF course_item.holdingbranch && ( ( course.enabled == 'yes' && b.value == item.holdingbranch ) || ( course.enabled == 'no' && b.value == course_item.holdingbranch ) ) %]
87                                     <option value="[% b.value %]" selected="selected">[% b.branchname %]</option>
88                                 [% ELSE %]
89                                     <option value="[% b.value %]">[% b.branchname %]</option>
90                                 [% END %]
91                             [% END %]
92                         </select>
93                     </li>
94
95                     <li>
96                         <label for="staff_note">Staff note:</label>
97                         <textarea name="staff_note" id="staff_note">[% course_reserve.staff_note %]</textarea>
98                     </li>
99
100                     <li>
101                         <label for="public_note">Public note:</label>
102                         <textarea name="public_note" id="public_note">[% course_reserve.public_note %]</textarea>
103                     </li>
104
105                 </ol>
106             </fieldset>
107
108             <fieldset class="action">
109                 <input type="submit" id="submit" value="Save" class="submit focus" />
110
111                 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id %]" class="cancel">Cancel</a>
112             </fieldset>
113         </form>
114     </div>
115
116 [% INCLUDE 'intranet-bottom.inc' %]