Bug 34931: Remove fieldset/legend in favor of div/h3
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / virtualshelves / sendshelfform.tt
1 [% USE raw %]
2 [% PROCESS 'i18n.inc' %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>[% FILTER collapse %]
5     [% t("Sending your list") | html %] &rsaquo;
6     [% t("Lists") | html %] &rsaquo;
7     [% t("Koha") | html %]
8 [% END %]</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 </head>
11 <body id="lists_sendshelfform" class="lists">
12 [% INCLUDE 'blocking_errors.inc' %]
13 <div class="container-fluid">[% IF ( email ) %]
14
15     [% IF ( SENT ) %]
16         <h3>Message sent</h3>
17         <p>The list was sent to: [% email | html %]</p>
18     [% END %]
19     [% IF ( error ) %]
20         <p>Problem sending the list...</p>
21     [% END %]
22
23     <nav class="navbar navbar-default navbar-fixed-bottom">
24         <div class="container-fluid">
25             <fieldset class="action">
26                 <button class="btn btn-default close_window focus">Close window</button>
27             </fieldset>
28         </div>
29     </nav>
30
31 [% ELSE %]
32
33 <form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
34
35 <h1>Sending your list</h1>
36 <fieldset class="rows">
37     <legend class="sr-only">Enter message details</legend>
38 <ol>   <li>
39         <label for="email">Email address:</label>
40         <input type="text" id="email" name="email" size="43" class="focus" />
41     </li>
42     <li>
43             <label for="comment">Comment:</label>
44             <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
45     </li>
46     <li>
47         <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
48     </li></ol></fieldset>
49
50     <nav class="navbar navbar-default navbar-fixed-bottom">
51         <div class="container-fluid">
52             <fieldset class="action">
53                 <input type="submit" class="btn btn-primary" value="Send" />
54                 <button class="btn btn-default close_window">Cancel</button>
55             </fieldset>
56         </div>
57     </nav>
58 </form>
59
60 [% END %]</div>
61 </body>
62 </html>