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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-3 / +2 lines)
Lines 137-150 Link Here
137
                                <li class="print_label"><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=add&amp;number_type=itemnumber&amp;number_list=[% item.itemnumber | uri %]" target="_blank" >Print label</a></li>
137
                                <li class="print_label"><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=add&amp;number_type=itemnumber&amp;number_list=[% item.itemnumber | uri %]" target="_blank" >Print label</a></li>
138
                                [% UNLESS item.nomod %]
138
                                [% UNLESS item.nomod %]
139
                                    <li>
139
                                    <li>
140
                                        <form action="/cgi-bin/koha/cataloguing/additem.pl" method="post">
140
                                        <form id="[% item.itemnumber | html %]-delete-item-form" action="/cgi-bin/koha/cataloguing/additem.pl" method="post">
141
                                            [% INCLUDE 'csrf-token.inc' %]
141
                                            [% INCLUDE 'csrf-token.inc' %]
142
                                            <input type="hidden" name="op" value="cud-delitem" />
142
                                            <input type="hidden" name="op" value="cud-delitem" />
143
                                            <input type="hidden" name="biblionumber" value="[% item.biblionumber | html %]" />
143
                                            <input type="hidden" name="biblionumber" value="[% item.biblionumber | html %]" />
144
                                            <input type="hidden" name="itemnumber" value="[% item.itemnumber | html %]" />
144
                                            <input type="hidden" name="itemnumber" value="[% item.itemnumber | html %]" />
145
                                            <input type="hidden" name="searchid" value="[% searchid | html %]" />
145
                                            <input type="hidden" name="searchid" value="[% searchid | html %]" />
146
                                        </form>
146
                                        </form>
147
                                        <a class="delete" href="#">Delete</a>
147
                                        <a class="delete" data-item="[% item.itemnumber | html %]" href="#">Delete</a>
148
                                    </li>
148
                                    </li>
149
                                [% END %]
149
                                [% END %]
150
                            [% END %]
150
                            [% END %]
151
- 

Return to bug 36327