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