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