From a9e96388beb3cac6e4523b5a290fb6a998fd07f6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall <kyle@bywatersolutions.com> Date: Wed, 2 May 2012 13:35:01 -0400 Subject: [PATCH 1/1] Bug 7757 - Followup - Move IF outside of html tag Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> --- .../prog/en/modules/acqui/basketheader.tt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt index 94765a7..a6befbd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt @@ -129,7 +129,11 @@ li.list2 { <label for="basketbooksellerid">Vendor</label> <select name="basketbooksellerid" id="basketbooksellerid"> [% FOREACH b IN booksellers %] - <option value="[% b.id %]" [% IF booksellerid == b.id %] selected="selected"[% END %]>[% b.name %]</option> + [% IF booksellerid == b.id %] + <option value="[% b.id %]" selected="selected">[% b.name %]</option> + [% ELSE %] + <option value="[% b.id %]">[% b.name %]</option> + [% END %] [% END %] </select> </li> -- 1.7.7.3