Bug 27846: (follow-up) Add id back to breadcrumbs container
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / patron_lists / add-modify.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% SET footerjs = 1 %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo;
6     [% IF list.patron_list_id %]
7         Modify patron list
8     [% ELSE %]
9         New patron list
10     [% END %]
11 </title>
12 [% INCLUDE 'doc-head-close.inc' %]
13 </head>
14
15 <body id="patlist_add_modify" class="pat patlist">
16 [% INCLUDE 'header.inc' %]
17 [% INCLUDE 'cat-search.inc' %]
18
19 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20     <ol>
21         <li>
22             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
23         </li>
24         <li>
25             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
26         </li>
27         <li>
28             <a href="lists.pl">Patron lists</a>
29         </li>
30         <li>
31             <a href="#" aria-current="page">
32                 [% IF list.patron_list_id %]
33                     Modify patron list
34                 [% ELSE %]
35                     New patron list
36                 [% END %]
37             </a>
38         </li>
39     </ol>
40 </nav>
41
42
43     <div class="container-fluid">
44         <div class="row">
45             <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
46         <h1>
47             [% IF list.patron_list_id %]
48                 Modify patron list
49             [% ELSE %]
50                 New patron list
51             [% END %]
52         </h1>
53
54         <form method="post" action="/cgi-bin/koha/patron_lists/add-modify.pl" class="validated">
55             <fieldset class="rows">
56
57                 <legend>
58                     [% IF list.patron_list_id %]
59                     Modify patron list
60                     [% ELSE %]
61                     Create a new patron list
62                     [% END %]
63                 </legend>
64
65                 <ol>
66                     <li>
67                         <label class="required" for="list-name">Name:</label>
68                         <input id="list-name" name="name" type="text" class="required" required="required" value="[% list.name | html %]" />
69                     </li>
70
71                     <li>
72                         <label for="list-shared">Shared:</label>
73                         [% IF list.shared %]
74                             <input id="list-shared" name="shared" type="checkbox" checked="checked" />
75                         [% ELSE %]
76                             <input id="list-shared" name="shared" type="checkbox" />
77                         [% END %]
78                     </li>
79
80                     <li>
81                         <span class="label">Owner: </span>[% logged_in_user.userid | html %]
82                     </li>
83                 </ol>
84
85             </fieldset>
86
87             <fieldset class="action">
88                 <input type="hidden" name="patron_list_id" value="[% list.patron_list_id | html %]" />
89                 <input type="submit" value="Save" />
90                 <a href="lists.pl" class="cancel">Cancel</a>
91             </fieldset>
92         </form>
93             </div>
94         </div>
95
96 [% MACRO jsinclude BLOCK %]
97     [% Asset.js("js/tools-menu.js") | $raw %]
98 [% END %]
99
100 [% INCLUDE 'intranet-bottom.inc' %]