Bug 10515: make behavior of library category fetchers consistent with other fetchers
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / clone-rules.tt
index c9d60c1..74d6ef4 100644 (file)
@@ -2,7 +2,7 @@
 <title>Koha &rsaquo; Administration &rsaquo; Issuing Rules &rsaquo; Clone Issuing Rules</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
-<body>
+<body id="admin_clone-rules" class="admin">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'cat-search.inc' %]
 
@@ -26,7 +26,7 @@
        [% ELSE %]
            <div class="dialog message"><p>The rules have been cloned.</p></div>
        [% END %]
-       <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to Issuing rules</a>
+    <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to issuing rules</a>
     [% ELSE %]
 
        <p class="help">Use carefully ! If the destination library already has issuing rules, they will be deleted without warning !</p> 
                <select name="frombranch" id="frombranch">
                        <option value="">Default</option>
                        [% FOREACH branchloo IN branchloop %]
-                       <option value="[% branchloo.value %]" [% IF ( branchloo.selected ) %]selected[% END %]>[% branchloo.branchname %]</option>
+                               [% IF ( branchloo.selected ) %]
+                                       <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
+                               [% ELSE %]
+                                       <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
+                               [% END %]
                        [% END %]
                </select>
                [% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch %]" />[% END %]
                <select name="tobranch" id="tobranch">
                        <option value="">Default</option>
                        [% FOREACH branchloo IN branchloop %]
-                       <option value="[% branchloo.value %]" [% IF ( branchloo.selected ) %]selected[% END %]>[% branchloo.branchname %]</option>
+                               [% IF ( branchloo.selected ) %]
+                                       <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
+                               [% ELSE %]
+                                       <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
+                               [% END %]
                        [% END %]
                </select>
                [% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch %]" />[% END %]