[% META title = 'Admin » Linked Lab Tests' -%]
<!-- BEGIN [% template.name %] -->
[% IF all_linked_tests.size %]
<p class="header">Linked Lab Tests</p>
<table class="indent">
<tr>
<th>Parent Test</th>
<th>Linked Test</th>
<td class="borderless"></td>
</tr>
[% FOREACH test IN all_linked_tests %]
<tr>
<td>
[% test.lab_test.field_label %]
[[% test.lab_test.lab_section.section_name %]]
</td>
<td>
[% test.linked_lab_test.field_label %]
[[% test.linked_lab_test.lab_section.section_name %]]
</td>
<td>
<a href="[% self_url %]?lab_section_id=[% test.lab_test.lab_section_id
%]&parent_test_id=[% test.lab_test.id %]">edit</a>
</td>
</tr>
[% END %]
</table>
[% ELSE %]
<p class="warning">No linked lab tests configured</p>
[% END %]
<!-- END [% template.name %] -->