Lines 16-28
Link Here
|
16 |
<ul class="dropdown-menu"> |
16 |
<ul class="dropdown-menu"> |
17 |
<li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&shelfnumber=[% shelf.shelfnumber | uri %]&referer=[% op | uri %]">Edit list</a></li> |
17 |
<li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&shelfnumber=[% shelf.shelfnumber | uri %]&referer=[% op | uri %]">Edit list</a></li> |
18 |
<li> |
18 |
<li> |
19 |
<form id="deleteshelf_toolbar_form" action="shelves.pl" method="post"> |
19 |
[% INCLUDE 'csrf-token.inc' %] |
20 |
[% INCLUDE 'csrf-token.inc' %] |
20 |
<a class="submit-form-link dropdown-item" href="#" data-shelfnumber="[% shelf.shelfnumber | html %]" data-method="post" data-action="shelves.pl" data-op="cud-delete" data-confirmation-msg="[% t('Are you sure you want to delete this list?') | html %]">Delete List</a> |
21 |
<input type="hidden" name="op" value="cud-delete" /> |
21 |
</li> |
22 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
|
|
23 |
<button type="submit" class="btn btn-default delete-list">Delete list</button> |
24 |
</form> |
25 |
</li> |
26 |
</ul> |
22 |
</ul> |
27 |
</div> |
23 |
</div> |
28 |
[% END %] |
24 |
[% END %] |