View | Details | Raw Unified | Return to bug 24433
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc (-3 / +3 lines)
Lines 184-193 Link Here
184
                        [% IF ! onlyinfo %]
184
                        [% IF ! onlyinfo %]
185
                            <td class="modify">
185
                            <td class="modify">
186
                                [% IF ( HOLD.is_cancelable_from_opac ) %]
186
                                [% IF ( HOLD.is_cancelable_from_opac ) %]
187
                                    <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
187
                                    <form id="delete_hold_[% HOLD.reserve_id | html %]" action="/cgi-bin/koha/opac-modrequest.pl" method="post">
188
                                    <input type="hidden" name="biblionumber" value="[% HOLD.biblionumber | html %]" />
188
                                    <input type="hidden" name="biblionumber" value="[% HOLD.biblionumber | html %]" />
189
                                    <input type="hidden" name="reserve_id" value="[% HOLD.reserve_id | html %]" />
189
                                    <input type="hidden" name="reserve_id" value="[% HOLD.reserve_id | html %]" />
190
                                    <button type="submit" name="submit" class="btn btn-mini btn-danger" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="fa fa-remove"></i> Cancel</button></form>
190
                                    <button data-title="[% INCLUDE 'biblio-title-head.inc' biblio=HOLD.biblio %]" data-reserve_id="[% HOLD.reserve_id | html %]" type="submit" class="btn btn-sm btn-danger btn-delete-hold"><i class="fa fa-remove"></i> Cancel</button>
191
                                </form>
191
                                [% END %]
192
                                [% END %]
192
                            </td>
193
                            </td>
193
                        [% END # / IF onlyinfo %]
194
                        [% END # / IF onlyinfo %]
194
- 

Return to bug 24433