1 [% PROCESS "opac/parts/header.tt2";
2 PROCESS "opac/parts/misc_util.tt2";
3 WRAPPER "opac/parts/myopac/base.tt2";
4 myopac_page = "lists/update"
7 <!-- we should never see this page on success -->
9 [% IF ctx.bucket_action_failed %]
10 <div id='bookbag_udpate_failures'>
11 <h3>[% l("Problem with list management:") %]</h3>
13 [% IF ctx.bucket_action == 'create' %]
14 [% IF ctx.bucket_failure_noname %]
15 <h4 class="text-danger">[% l('A list name is required') %]</h4>
21 # The return link should return the user to the page where the edit
23 # mkurl() does not support 'page' params w/ existing CGI params.
24 # build the URL manually.
26 from = ctx.where_from | uri;
28 url = url _ ';where_from=' _ from;
30 url = url _ '?where_from=' _ from;
33 <a class="btn btn-success" href="[% url %]"><i class="fas fa-undo"></i> [% l('Return') %]</a>