[% FOREACH section IN lab_tests.keys.sort; # PROCESS dumper.tt dump = section %]
[%
panels = [ ]; # reset
tests = [ ];
FOREACH entry IN lab_tests.item(section); # PROCESS dumper.tt dump = entry;
tests.push(entry.label) IF entry.test_type == 'test';
panels.push(entry.label) IF entry.test_type == 'panel';
END;
# PROCESS dumper.tt dump = tests;
# PROCESS dumper.tt dump = panels;
%]
[% div_name = section.replace(' ', '_');
INCLUDE site/snippets/toggleview.tt type = 'folder' %]
[% section %]
[% site.html.ie_span_fix %]
[% IF panels.size %]
[% PROCESS admin/screen/test/row.tt test_type = 'panel' %]
[% END %]
[% IF tests.size %]
[% PROCESS admin/screen/test/row.tt test_type = 'test' %]
[% END %]
[%
IF lab_sections_map.item(section).has_section_notes.match('yes');
section_id = lab_sections_map.item(section).id;
section_details = section_details_map.item(section_id);
%]
Section notes:
[% END %]
[% END %]
[% IF csrf_token; PROCESS site/csrf.tt; END %]