|
Line 0
Link Here
|
|
|
1 |
<!-- Set record source --> |
| 2 |
<div class="modal" id="setRecordSourceModal" tabindex="-1" role="dialog" aria-labelledby="setRecordSourceLabel"> |
| 3 |
<div class="modal-dialog"> |
| 4 |
<div class="modal-content"> |
| 5 |
<div class="modal-header"> |
| 6 |
|
| 7 |
<h1 class="modal-title" id="setRecordSourceModal_">Set the record source [% IF ( biblio.title ) %] for [% INCLUDE 'biblio-title.inc' %][% END %]</h1> |
| 8 |
|
| 9 |
</div> |
| 10 |
<form method="post" action="/cgi-bin/koha/catalogue/detail.pl"> |
| 11 |
<div class="modal-body"> |
| 12 |
[% INCLUDE 'csrf-token.inc' %] |
| 13 |
<input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html_entity %]" /> |
| 14 |
<input type="hidden" name="set_record_source" value="1" /> |
| 15 |
<select id="record_source_id" name="record_source_id"> |
| 16 |
<option value=''>No specified source</option> |
| 17 |
[% FOREACH source IN record_sources %] |
| 18 |
[% IF ( source.record_source_id == current_source.record_source_id ) %] |
| 19 |
<option value="[% source.record_source_id | html_entity %]" selected="selected">[% source.name | html_entity %]</option> |
| 20 |
[% ELSE %] |
| 21 |
<option value="[% source.record_source_id | html_entity %]">[% source.name | html_entity %]</option> |
| 22 |
[% END %] |
| 23 |
[% END %] |
| 24 |
</select> |
| 25 |
<a class="btn btn-secondary" href="/cgi-bin/koha/admin/record_sources">Configure record sources</a> |
| 26 |
</div> |
| 27 |
<div class="modal-footer"> |
| 28 |
<button type="submit" class="btn btn-primary">Set record source</button> |
| 29 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
| 30 |
</div> |
| 31 |
</form> |
| 32 |
</div> |
| 33 |
</div> |
| 34 |
</div> |