Lines 267-283
Link Here
|
267 |
<li> |
267 |
<li> |
268 |
<label for="kohafield[% loo.row | html %]">Koha link:</label> |
268 |
<label for="kohafield[% loo.row | html %]">Koha link:</label> |
269 |
<!-- This select should be DISABLED; value is submitted by the following hidden input --> |
269 |
<!-- This select should be DISABLED; value is submitted by the following hidden input --> |
270 |
<select name="kohafield_[% loo.row | html %]" id="kohafield[% loo.row | html %]" disabled> |
270 |
[% loo.kohafield | html %] |
271 |
[% FOREACH value IN loo.kohafields %] |
|
|
272 |
[% IF ( value == loo.kohafield ) %] |
273 |
<option value="[% value | html %]" selected="selected">[% value | html %]</option> |
274 |
[% ELSE %] |
275 |
<option value="[% value | html %]">[% value | html %]</option> |
276 |
[% END %] |
277 |
[% END %] |
278 |
</select> |
279 |
<!-- Do NOT remove this next hidden input! We need it to save kohafield. --> |
271 |
<!-- Do NOT remove this next hidden input! We need it to save kohafield. --> |
280 |
<input type="hidden" name="kohafield_[% loo.row | html %]" value="[% loo.kohafield | html %]"/> |
272 |
<input type="hidden" name="kohafield_[% loo.row | html %]" value="[% loo.kohafield | html %]"/> |
|
|
273 |
<div class="hint">Edit in 'Koha to MARC mapping'</div> |
281 |
</li> |
274 |
</li> |
282 |
</ol> |
275 |
</ol> |
283 |
</fieldset> <!-- /.rows --> |
276 |
</fieldset> <!-- /.rows --> |
284 |
- |
|
|