<title>Koha › Administration › Issuing Rules › 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' %]
[% 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 %]