1 [%- PROCESS "opac/parts/header.tt2";
2 PROCESS "opac/parts/misc_util.tt2";
3 WRAPPER "opac/parts/base.tt2";
4 INCLUDE "opac/parts/topnav.tt2";
5 ctx.page_title = l("Confirm Basket Printing") %]
6 [% INCLUDE "opac/parts/searchbar.tt2" %]
8 <div class="container">
9 [% IF ctx.mylist.size %]
10 <h3>[% l('Confirm Basket Printing') %]</h3>
11 <p class="big-strong">[% l('Please confirm that you want to print the [_1] titles in the basket.', ctx.mylist.size) %]
12 <form method="post" action="[% mkurl(ctx.opac_root _ '/mylist/doprint', {}, 1) %]">
13 <input type="hidden" name="redirect_to" value="[% ctx.referer %]" />
14 <div class="form-check m-2">
15 <input class="form-check-input" type="checkbox" value="" id="clear_cart">
16 <label class="form-check-label" for="clear_cart">
17 [% l('Clear entire basket after printing.') %]
21 <button id="print_cart_submit" type="submit" class="btn btn-confirm"><i class="fas fa-print" aria-hidden="true"></i> [% l("Print") %]</button>
22 <button type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" id="clear_basket_cancel" class="btn btn-deny"><i class="fas fa-times-circle" aria-hidden="true"></i> [% l('Cancel') %]</button>
25 <div class="warning_box"><h3>[% l("The basket is empty."); %]</h3></div>
26 <button type="button" class="btn btn-confirm" onclick="window.location='[% ctx.referer | html %]'"><i class="fas fa-undo-alt" aria-hidden="true"></i> [% l('Return') %]</button>