[% test_type | upper %]S:

[% count = 1 %] [% FOREACH entry IN lab_tests.item(section); # PROCESS dumper.tt dump = entry; NEXT IF entry.test_type != test_type OR entry.is_active.match('no'); %] [% UNLESS loop.last OR # don't start new table unless multiple of 4: count % 4 %] [% END; count = count + 1; %] [% END %]
[% entry.field_label %]: