Lines 483-493
Link Here
|
483 |
[% Asset.css("css/addbiblio.css") | $raw %] |
483 |
[% Asset.css("css/addbiblio.css") | $raw %] |
484 |
|
484 |
|
485 |
[% INCLUDE 'select2.inc' %] |
485 |
[% INCLUDE 'select2.inc' %] |
486 |
<script> |
|
|
487 |
$(document).ready(function() { |
488 |
$('.subfield_line select').select2(); |
489 |
}); |
490 |
</script> |
491 |
|
486 |
|
492 |
</head> |
487 |
</head> |
493 |
<body id="cat_addbiblio" class="cat"> |
488 |
<body id="cat_addbiblio" class="cat"> |
Lines 852-858
Link Here
|
852 |
[% ELSIF ( mv.type == 'textarea' ) %] |
847 |
[% ELSIF ( mv.type == 'textarea' ) %] |
853 |
<textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea> |
848 |
<textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea> |
854 |
[% ELSIF ( mv.type == 'select' ) %] |
849 |
[% ELSIF ( mv.type == 'select' ) %] |
855 |
<select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]"> |
850 |
<select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor select2" id="[%- mv.id | html -%]"> |
856 |
[% FOREACH aval IN mv.values %] |
851 |
[% FOREACH aval IN mv.values %] |
857 |
[% IF aval == mv.default %] |
852 |
[% IF aval == mv.default %] |
858 |
<option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option> |
853 |
<option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option> |