View | Details | Raw Unified | Return to bug 34240
Collapse All | Expand All

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

Return to bug 34240