@@ -, +, @@ syntax --- C4/Branch.pm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) --- a/C4/Branch.pm +++ a/C4/Branch.pm @@ -90,11 +90,15 @@ Create a branch selector with the following code. =head3 in TEMPLATE - + + [% FOREACH branchloo IN branchloop %] + [% IF ( branchloo.selected ) %] + + [% ELSE %] + + [% END %] + [% END %] =head4 Note that you often will want to just use GetBranchesLoop, for exactly the example above. --