[% content_only = 1 # no html wrappers %] [% FOREACH entry IN diagnoses; NEXT UNLESS entry.active.match('yes') %] [% END %]