From: Owen Leonard <[email protected]> Fixing improperly nested template logic inside HTML tags in clone circulation rules form.
Signed-off-by: Katrin Fischer <[email protected]> --- .../prog/en/modules/admin/clone-rules.tt | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt index c9d60c1..7bbe27b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt @@ -38,7 +38,11 @@ <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 %] @@ -52,7 +56,11 @@ <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 %] -- 1.7.4.1 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
