|
Lines 283-289
Link Here
|
| 283 |
<label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> |
283 |
<label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> |
| 284 |
[% END %] |
284 |
[% END %] |
| 285 |
|
285 |
|
|
|
286 |
[% IF ( iteminformatio.marc_value.type == 'select' ) %] |
| 287 |
<select name="field_value" size="1"> |
| 288 |
[% FOREACH value IN iteminformatio.marc_value.values %] |
| 289 |
[% IF ( value == iteminformatio.marc_value.default ) %] |
| 290 |
<option value="[% value %]" selected="selected">[% iteminformatio.marc_value.labels.$value %]</option> |
| 291 |
[% ELSE %] |
| 292 |
<option value="[% value %]">[% iteminformatio.marc_value.labels.$value %]</option> |
| 293 |
[% END %] |
| 294 |
[% END %] |
| 295 |
</select> |
| 296 |
[% ELSE %] |
| 286 |
[% iteminformatio.marc_value %] |
297 |
[% iteminformatio.marc_value %] |
|
|
298 |
[% END %] |
| 287 |
<input type="hidden" name="itemid" value="1" /> |
299 |
<input type="hidden" name="itemid" value="1" /> |
| 288 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> |
300 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> |
| 289 |
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> |
301 |
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> |
| 290 |
- |
|
|