  [% META title = 'Admin &raquo; Screening Tests' -%]

  [% # PROCESS dumper.tt dump = data %]
  [% # PROCESS dumper.tt dump = c.query.param('id') %]


  [% # PROCESS admin/system_nav.tt page = 'screen_test' # if admin permissions only %]

	<h2 align="center">Initial Screen Tests [All]</h2>

    [% FOREACH category IN data.keys.sort; # PROCESS dumper.tt dump = data.item(category);
        label   = category;
        screens = data.item(category); # hashref
    %]
        <h4 class="header">[% label | upper %]</h4>
        <div class="indent">
            [% FOREACH entry IN screens; # PROCESS dumper.tt dump = entry;
                name  = entry.key;
                tests = entry.value;
            %]
            <dl>        
                <dt>[% name %]:</dt>
                [% FOREACH test IN tests %]
                    <dd>[% test.field_label %] ([% test.section_name %])</dd>
                [% END %]
            [% END %]
            </dl>
        </div>
    [% END %]
    
    <p class="center">[% site.html.back_button %]</p>

