<!-- BEGIN [% component.name %] -->
	<div class="indent">  
      <form action="[% app_url %]/worklist/display/[% c.query.param('lab_section_id') %]"
          method="get" name="display" id="display">
		<p class="indent"><b>Show only requests &ge; lab number
		[% c.cfg('settings').lab_number_prefix -%]</b><input type="text" size="7"
		  name="lab_number_from" />
		  [optional, but use <b>FULL</b> lab number eg n/yy]
		</p>
		
        [% IF active_investigations.size > 1 %]
          [% PROCESS worklist/snippets/lab_tests_multiple.tt %]
        [% ELSE # need at least 1 form param %]
          <input type="hidden" name="test_id" value="" />
        [% END %]

		[% IF status_options.size > 1;
			INCLUDE worklist/snippets/status_options.tt; END %]
		<!--
		<p>
		  <strong>Data entry</strong>: [optional]
		  <input type="checkbox" name="results_entry" value="1" />
		  -->
		  <!-- // to use - need to change $self->query->param('results_entry') 
			to $self->query->param('display_type') eq 'data' in display()
		  <input type="radio" value="display" name="display_type" /> display
		  <input type="radio" value="data" name="display_type" /> data entry		  
		</p>
		-->
		
        <p class="indent">
          [% # site.html.submit %]
		  <input type='submit' value='Display' name='display_format' class='button' />
		  <input type='submit' value='Data Entry' name='display_format' class='button' />
		  [% site.html.reset %]		
        </p>
      </form>				
    </div>
<!-- END [% component.name %] -->

