diff --git a/C4/Branch.pm b/C4/Branch.pm index 580df40c84..e0d37ee97b 100644 --- a/C4/Branch.pm +++ b/C4/Branch.pm @@ -89,11 +89,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.