|
Lines 407-413
$(document).ready(function() {
Link Here
|
| 407 |
[% ELSE %] |
407 |
[% ELSE %] |
| 408 |
<label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> |
408 |
<label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> |
| 409 |
[% END %] |
409 |
[% END %] |
|
|
410 |
[% IF ( iteminformatio.marc_value.type == 'select' ) %] |
| 411 |
<select name="field_value" size="1"> |
| 412 |
[% FOREACH value IN iteminformatio.marc_value.values %] |
| 413 |
[% IF ( value == iteminformatio.marc_value.default ) %] |
| 414 |
<option value="[% value %]" selected="selected">[% iteminformatio.marc_value.labels.$value %]</option> |
| 415 |
[% ELSE %] |
| 416 |
<option value="[% value %]">[% iteminformatio.marc_value.labels.$value %]</option> |
| 417 |
[% END %] |
| 418 |
[% END %] |
| 419 |
</select> |
| 420 |
[% ELSE %] |
| 410 |
[% iteminformatio.marc_value %] |
421 |
[% iteminformatio.marc_value %] |
|
|
422 |
[% END %] |
| 411 |
<input type="hidden" name="itemid" value="[% newserialloo.itemid %]" /> |
423 |
<input type="hidden" name="itemid" value="[% newserialloo.itemid %]" /> |
| 412 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> |
424 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> |
| 413 |
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> |
425 |
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> |
| 414 |
- |
|
|