Lines 17-23
Link Here
|
17 |
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit <span class="caret"></span></button> |
17 |
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit <span class="caret"></span></button> |
18 |
<ul class="dropdown-menu"> |
18 |
<ul class="dropdown-menu"> |
19 |
<li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&shelfnumber=[% shelf.shelfnumber | uri %]&referer=[% op | uri %]">Edit list</a></li> |
19 |
<li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&shelfnumber=[% shelf.shelfnumber | uri %]&referer=[% op | uri %]">Edit list</a></li> |
20 |
<li><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=delete&shelfnumber=[% shelf.shelfnumber | html %]">Delete list</a></li> |
20 |
<li> |
|
|
21 |
<a id="deleteshelf_toolbar" href="#">Delete list</a> |
22 |
<form id="deleteshelf_toolbar_form" action="shelves.pl" method="post"> |
23 |
[% INCLUDE 'csrf-token.inc' %] |
24 |
<input type="hidden" name="op" value="delete"> |
25 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]"> |
26 |
</form> |
27 |
</li> |
21 |
</ul> |
28 |
</ul> |
22 |
</div> |
29 |
</div> |
23 |
[% END %] |
30 |
[% END %] |