Bug 19623: (follow-up) Correct footer include in pop-up windows
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / patron_lists / add-modify.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo;
4     [% IF list.patron_list_id %]
5         Modify patron list
6     [% ELSE %]
7         New patron list
8     [% END %]
9 </title>
10 [% INCLUDE 'doc-head-close.inc' %]
11 </head>
12
13 <body id="patlist_add_modify" class="pat patlist">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="lists.pl">Patron lists</a> &rsaquo;
17     [% IF list.patron_list_id %]
18         Modify patron list
19     [% ELSE %]
20         New patron list
21     [% END %]
22 </div>
23
24
25 <div class="yui-t7">
26     <div class="yui-main">
27         <h1>
28             [% IF list.patron_list_id %]
29                 Modify patron list
30             [% ELSE %]
31                 New patron list
32             [% END %]
33         </h1>
34
35         <form method="post" action="/cgi-bin/koha/patron_lists/add-modify.pl" class="validated">
36             <fieldset class="rows">
37
38                 <legend>
39                     [% IF list.patron_list_id %]
40                     Modify patron list
41                     [% ELSE %]
42                     Create a new patron list
43                     [% END %]
44                 </legend>
45
46                 <ol>
47                     <li>
48                         <label class="required" for="list-name">Name:</label>
49                         <input id="list-name" name="name" type="text" class="required" required="required" value="[% list.name %]" />
50                     </li>
51
52                     <li>
53                         <span class="label">Owner: </span>[% loggedinusername %]
54                     </li>
55                 </ol>
56
57             </fieldset>
58
59             <fieldset class="action">
60                 <input type="hidden" name="patron_list_id" value="[% list.patron_list_id %]" />
61                 <input type="submit" value="Save" />
62                 <a href="lists.pl" class="cancel">Cancel</a>
63             </fieldset>
64         </form>
65     </div>
66
67 [% MACRO jsinclude BLOCK %]
68     <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu.js"></script>
69 [% END %]
70
71 [% INCLUDE 'intranet-bottom.inc' %]