Bug 18545 [Follow-up] Remove use of onclick from OPAC Cart
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-issue-note.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% USE Branches %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your library home</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
8 </head>
9 [% INCLUDE 'bodytag.inc' bodyid='opac-issue-note' %]
10 [% INCLUDE 'masthead.inc' %]
11
12 <div class="main">
13     <ul class="breadcrumb">
14         <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15         <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a><span class="divider">&rsaquo;</span></li>
16         <li><a href="#">Editing issue note for [% ISSUE.title %] - [% ISSUE.author %]</a></li>
17     </ul>
18
19     <div class="container-fluid">
20         <div class="row-fluid">
21             <div class="span2">
22                 <div id="navigation">
23                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
24                 </div>
25             </div>
26             <div class="span10">
27                 <div id="issuenote" class="maincontent">
28                     <h3>Editing issue note for [% title %] [% author %]</h3>
29                         [% IF not(Koha.Preference("AllowCheckoutNotes")) %]
30                             Issue notes have not been enabled. Please contact the library.
31                         [% ELSE %]
32                             <form id="issue-note" action="/cgi-bin/koha/opac-issue-note.pl" method="post">
33                                 <fieldset>
34                                     <label for="note" class="required">Note:</label>
35                                     <input type="text" name="note" value="[% note %]">
36                                     <input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
37                                     <input type="hidden" name="itemnumber" value="[% itemnumber %]">
38                                     <input type="hidden" name="issue_id" value="[% issue_id %]">
39                                     <input type="hidden" name="action" value="issuenote">
40                                 </fieldset>
41                                 <fieldset class="action">
42                                     <input type="submit" value="Submit note" class="btn btn-default btn-sm"><a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a>
43                                 </fieldset>
44                             </form> <!-- issue-note -->
45                         [% END %]
46                 </div> <!-- issuenote -->
47             </div> <!-- span10 -->
48         </div> <!-- row-fluid -->
49     </div> <!-- container-fluid -->
50
51 </div> <!-- main -->
52
53 [% INCLUDE 'opac-bottom.inc' %]
54 [% BLOCK jsinclude %][% END %]