|
Lines 264-270
$(document).ready(function() {
Link Here
|
| 264 |
[% ELSE %] |
264 |
[% ELSE %] |
| 265 |
<label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> |
265 |
<label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> |
| 266 |
[% END %] |
266 |
[% END %] |
|
|
267 |
[% IF ( iteminformatio.marc_value.type == 'select' ) %] |
| 268 |
<select name="field_value" size="1"> |
| 269 |
[% FOREACH value IN iteminformatio.marc_value.values %] |
| 270 |
[% IF ( value == iteminformatio.marc_value.default ) %] |
| 271 |
<option value="[% value %]" selected="selected">[% iteminformatio.marc_value.labels.$value %]</option> |
| 272 |
[% ELSE %] |
| 273 |
<option value="[% value %]">[% iteminformatio.marc_value.labels.$value %]</option> |
| 274 |
[% END %] |
| 275 |
[% END %] |
| 276 |
</select> |
| 277 |
[% ELSE %] |
| 267 |
[% iteminformatio.marc_value %] |
278 |
[% iteminformatio.marc_value %] |
|
|
279 |
[% END %] |
| 268 |
<input type="hidden" name="itemid" value="[% item.itemid %]" /> |
280 |
<input type="hidden" name="itemid" value="[% item.itemid %]" /> |
| 269 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> |
281 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> |
| 270 |
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> |
282 |
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> |
| 271 |
- |
|
|