|
Lines 79-85
Link Here
|
| 79 |
[% IF ( title_required ) %] |
79 |
[% IF ( title_required ) %] |
| 80 |
<label for="title" class="required">Title:</label> |
80 |
<label for="title" class="required">Title:</label> |
| 81 |
<input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title | html %]" required="required" /> |
81 |
<input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title | html %]" required="required" /> |
| 82 |
<span class="required">Required</span> |
82 |
<div class="required_label required">Required</div> |
| 83 |
[% ELSE %] |
83 |
[% ELSE %] |
| 84 |
<label for="title">Title:</label> |
84 |
<label for="title">Title:</label> |
| 85 |
<input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title | html %]" /> |
85 |
<input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title | html %]" /> |
|
Lines 90-96
Link Here
|
| 90 |
[% IF ( author_required ) %] |
90 |
[% IF ( author_required ) %] |
| 91 |
<label for="author" class="required">Author:</label> |
91 |
<label for="author" class="required">Author:</label> |
| 92 |
<input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author | html %]" required="required" /> |
92 |
<input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author | html %]" required="required" /> |
| 93 |
<span class="required">Required</span> |
93 |
<div class="required_label required">Required</div> |
| 94 |
[% ELSE %] |
94 |
[% ELSE %] |
| 95 |
<label for="author">Author:</label> |
95 |
<label for="author">Author:</label> |
| 96 |
<input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author | html %]" /> |
96 |
<input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author | html %]" /> |
|
Lines 103-109
Link Here
|
| 103 |
[% IF ( copyrightdate_required ) %] |
103 |
[% IF ( copyrightdate_required ) %] |
| 104 |
<label for="copyrightdate" class="required">Copyright date:</label> |
104 |
<label for="copyrightdate" class="required">Copyright date:</label> |
| 105 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" value="[% copyrightdate | html %]" required="required" /> |
105 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" value="[% copyrightdate | html %]" required="required" /> |
| 106 |
<span class="required">Required</span> |
106 |
<div class="required_label required">Required</div> |
| 107 |
[% ELSE %] |
107 |
[% ELSE %] |
| 108 |
<label for="copyrightdate">Copyright date:</label> |
108 |
<label for="copyrightdate">Copyright date:</label> |
| 109 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" value="[% copyrightdate | html %]" /> |
109 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" value="[% copyrightdate | html %]" /> |
|
Lines 116-122
Link Here
|
| 116 |
[% IF ( isbn_required ) %] |
116 |
[% IF ( isbn_required ) %] |
| 117 |
<label for="isbn" class="required">Standard number (ISBN, ISSN or other):</label> |
117 |
<label for="isbn" class="required">Standard number (ISBN, ISSN or other):</label> |
| 118 |
<input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn | html %]" required="required" /> |
118 |
<input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn | html %]" required="required" /> |
| 119 |
<span class="required">Required</span> |
119 |
<div class="required_label required">Required</div> |
| 120 |
[% ELSE %] |
120 |
[% ELSE %] |
| 121 |
<label for="isbn">Standard number (ISBN, ISSN or other):</label> |
121 |
<label for="isbn">Standard number (ISBN, ISSN or other):</label> |
| 122 |
<input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn | html %]" /> |
122 |
<input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn | html %]" /> |
|
Lines 128-134
Link Here
|
| 128 |
[% IF ( publishercode_required ) %] |
128 |
[% IF ( publishercode_required ) %] |
| 129 |
<label for="publishercode" class="required">Publisher:</label> |
129 |
<label for="publishercode" class="required">Publisher:</label> |
| 130 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode | html %]" required="required" /> |
130 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode | html %]" required="required" /> |
| 131 |
<span class="required">Required</span> |
131 |
<div class="required_label required">Required</div> |
| 132 |
[% ELSE %] |
132 |
[% ELSE %] |
| 133 |
<label for="publishercode">Publisher:</label> |
133 |
<label for="publishercode">Publisher:</label> |
| 134 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode | html %]" /> |
134 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode | html %]" /> |
|
Lines 140-146
Link Here
|
| 140 |
[% IF ( collectiontitle_required ) %] |
140 |
[% IF ( collectiontitle_required ) %] |
| 141 |
<label for="collectiontitle" class="required">Collection title:</label> |
141 |
<label for="collectiontitle" class="required">Collection title:</label> |
| 142 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle | html %]" required="required" /> |
142 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle | html %]" required="required" /> |
| 143 |
<span class="required">Required</span> |
143 |
<div class="required_label required">Required</div> |
| 144 |
[% ELSE %] |
144 |
[% ELSE %] |
| 145 |
<label for="collectiontitle">Collection title:</label> |
145 |
<label for="collectiontitle">Collection title:</label> |
| 146 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle | html %]" /> |
146 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle | html %]" /> |
|
Lines 152-158
Link Here
|
| 152 |
[% IF ( place_required ) %] |
152 |
[% IF ( place_required ) %] |
| 153 |
<label for="place" class="required">Publication place:</label> |
153 |
<label for="place" class="required">Publication place:</label> |
| 154 |
<input type="text" id="place" name="place" required="required" maxlength="80" value="[% place | html %]" /> |
154 |
<input type="text" id="place" name="place" required="required" maxlength="80" value="[% place | html %]" /> |
| 155 |
<span class="required">Required</span> |
155 |
<div class="required_label required">Required</div> |
| 156 |
[% ELSE %] |
156 |
[% ELSE %] |
| 157 |
<label for="place">Publication place:</label> |
157 |
<label for="place">Publication place:</label> |
| 158 |
<input type="text" id="place" name="place" maxlength="80" value="[% place | html %]" /> |
158 |
<input type="text" id="place" name="place" maxlength="80" value="[% place | html %]" /> |
|
Lines 164-170
Link Here
|
| 164 |
[% IF ( quantity_required ) %] |
164 |
[% IF ( quantity_required ) %] |
| 165 |
<label for="quantity" class="required">Quantity:</label> |
165 |
<label for="quantity" class="required">Quantity:</label> |
| 166 |
<input type="text" id="quantity" name="quantity" required="required" maxlength="4" size="4" /> |
166 |
<input type="text" id="quantity" name="quantity" required="required" maxlength="4" size="4" /> |
| 167 |
<span class="required">Required</span> |
167 |
<div class="required_label required">Required</div> |
| 168 |
[% ELSE %] |
168 |
[% ELSE %] |
| 169 |
<label for="quantity">Quantity:</label> |
169 |
<label for="quantity">Quantity:</label> |
| 170 |
<input type="text" id="quantity" name="quantity" maxlength="4" size="4" /> |
170 |
<input type="text" id="quantity" name="quantity" maxlength="4" size="4" /> |
|
Lines 176-182
Link Here
|
| 176 |
[% IF ( itemtype_required ) %] |
176 |
[% IF ( itemtype_required ) %] |
| 177 |
<label for="itemtype" class="required">Item type:</label> |
177 |
<label for="itemtype" class="required">Item type:</label> |
| 178 |
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, required = 1, blank = 1 %] |
178 |
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, required = 1, blank = 1 %] |
| 179 |
<span class="required">Required</span> |
179 |
<div class="required_label required">Required</div> |
| 180 |
[% ELSE %] |
180 |
[% ELSE %] |
| 181 |
<label for="itemtype">Item type:</label> |
181 |
<label for="itemtype">Item type:</label> |
| 182 |
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, blank = 1 %] |
182 |
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, blank = 1 %] |
|
Lines 190-196
Link Here
|
| 190 |
<select name="branchcode" id="branch" required="required"> |
190 |
<select name="branchcode" id="branch" required="required"> |
| 191 |
[% PROCESS options_for_libraries libraries => Branches.all %] |
191 |
[% PROCESS options_for_libraries libraries => Branches.all %] |
| 192 |
</select> |
192 |
</select> |
| 193 |
<span class="required">Required</span> |
193 |
<div class="required_label required">Required</div> |
| 194 |
[% ELSE %] |
194 |
[% ELSE %] |
| 195 |
<label for="branch">Library:</label> |
195 |
<label for="branch">Library:</label> |
| 196 |
<select name="branchcode" id="branch"> |
196 |
<select name="branchcode" id="branch"> |
|
Lines 210-216
Link Here
|
| 210 |
<option value="[% patron_reason_loo.authorised_value | html %]">[% patron_reason_loo.lib | html %]</option> |
210 |
<option value="[% patron_reason_loo.authorised_value | html %]">[% patron_reason_loo.lib | html %]</option> |
| 211 |
[% END %] |
211 |
[% END %] |
| 212 |
</select> |
212 |
</select> |
| 213 |
<span class="required">Required</span> |
213 |
<div class="required_label required">Required</div> |
| 214 |
[% ELSE %] |
214 |
[% ELSE %] |
| 215 |
<label for="patronreason">Reason for suggestion: </label> |
215 |
<label for="patronreason">Reason for suggestion: </label> |
| 216 |
<select name="patronreason" id="patronreason"> |
216 |
<select name="patronreason" id="patronreason"> |
|
Lines 228-234
Link Here
|
| 228 |
[% IF ( note_required ) %] |
228 |
[% IF ( note_required ) %] |
| 229 |
<label for="note" class="required">Notes:</label> |
229 |
<label for="note" class="required">Notes:</label> |
| 230 |
<textarea name="note" id="note" rows="5" cols="40" required="required">[% note | html %]</textarea> |
230 |
<textarea name="note" id="note" rows="5" cols="40" required="required">[% note | html %]</textarea> |
| 231 |
<span class="required">Required</span> |
231 |
<div class="required_label required">Required</div> |
| 232 |
[% ELSE %] |
232 |
[% ELSE %] |
| 233 |
<label for="note">Notes:</label> |
233 |
<label for="note">Notes:</label> |
| 234 |
<textarea name="note" id="note" rows="5" cols="40">[% note | html %]</textarea> |
234 |
<textarea name="note" id="note" rows="5" cols="40">[% note | html %]</textarea> |
| 235 |
- |
|
|