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