<!-- BEGIN [% component.name %] -->
	<form class="printHide" action="[% c.query.url(path_info=1) %]" method="get">
	  <input type="hidden" name="status_query" value="[% status_query %]" />
      <input type="hidden" name="duration" value="[% duration %]" />

	  <div class="bold">Sample/request type filter: [% site.html.go_btn %]</div>

	  [% IF c.cfg('settings').have_outreach %]
		<div class="indent">
		  <span>[% class = filter.match('^cmp') ? 'highlight' : 'normal' %]
			<input type="radio" name="filter" value="cmp" id="cmp"
			  [% 'checked' IF class.match('highlight') %] />
            <label for="cmp">
                <span class="[% class %]">CMP only</span>
            </label>
		  </span>

		  <span style="position: absolute; left: 260px">
			[% class = filter.match('not_cmp') ? 'highlight' : 'normal' %]
			<input type="radio" name="filter" value="not_cmp" id="not_cmp"
			  [% 'checked' IF class.match('highlight') %] />
            <label for="not_cmp">
                <span class="[% class %]">exclude CMP</span>
            </label>
		  </span>
		</div>
	  [% END %]

	  <div class="indent">
		<span>[% class = filter.match('liquid$') ? 'highlight' : 'normal' %]
		  <input type="radio" name="filter" value="liquid" id="liquid"
		    [% 'checked' IF class.match('highlight') %] />
          <label for="liquid">
            <span class="[% class %]">contains liquid</span>
          </label>
		 </span>

		<span style="position: absolute; left: 260px">
		  [% class = filter.match('liquid_only') ? 'highlight' : 'normal' %]
		  <input type="radio" name="filter" value="liquid_only" id="liquid_only"
		    [% 'checked' IF class.match('highlight') %] />
          <label for="liquid_only">
    		  <span class="[% class %]">liquid only</span>
          <label>
		</span>
	  </div>

	  <div class="indent">
	    <span>[% class = filter.match('tissue$') ? 'highlight' : 'normal' %]
		  <input type="radio" name="filter" value="tissue" id="tissue"
		    [% 'checked' IF class.match('highlight') %] />
          <label for="tissue">
            <span class="[% class %]">contains tissue</span>
          </label>
		</span>

		<span style="position: absolute; left: 260px">
		  [% class = filter.match('tissue_only') ? 'highlight' : 'normal' %]
		  <input type="radio" name="filter" value="tissue_only" id="tissue_only"
		    [% 'checked' IF class.match('highlight') %] />
          <label for="tissue_only">
            <span class="[% class %]">tissue only</span>
          </label>
		</span>
	  </div>

	  <div class="indent">
	    <span>[% class = filter.match('clinical_trial_only') ? 'highlight' : 'normal' %]
		  <input type="radio" name="filter" value="clinical_trial_only"
		    id="clinical_trial_only" [% 'checked' IF class.match('highlight') %] />
          <label for="clinical_trial_only">
            <span class="[% class %]">clinical trial only</span>
          </label>
		</span>

		<span style="position: absolute; left: 260px">
		  [% class = filter.match('no_clinical_trials') ? 'highlight' : 'normal' %]
		  <input type="radio" name="filter" value="no_clinical_trials"
            id="no_clinical_trials" [% 'checked' IF class.match('highlight') %] />
          <label for="no_clinical_trials">
            <span class="[% class %]">non-clinical trial</span>
        </label>
		</span>
	  </div>

      <p class="spacer"></p>

	  [% IF status_query.match('^incomplete|unreported|unauthorised$') %]
		<div class="bold">Outstanding tests filter: [% site.html.go_btn %]</div>
		<div class="indent">
		  <span>[% class = filter.match('with_incomplete_tests') ? 'highlight' : 'normal' %]
			<input type="radio" name="filter" value="with_incomplete_tests"
                id="with_incomplete_tests"  [% 'checked' IF class.match('highlight') %] />
            <label for="with_incomplete_tests">
                <span class="[% class %]">with incomplete tests</span>
            </label>
		   </span>
		</div>
		<div class="indent">
		  <span>[% class = filter.match('no_incomplete_tests') ? 'highlight' : 'normal' %]
			<input type="radio" name="filter" value="no_incomplete_tests"
                id="no_incomplete_tests" [% 'checked' IF class.match('highlight') %] />
            <label for="no_incomplete_tests">
                <span class="[% class %]">no incomplete tests</span>
            </label>
		  </span>
		</div>
	  [% END %]

	  [% IF filter; # no point allowing 'all' if not already filtered %]
		<div class="indent">
		  <span>[% class = filter.match('all') ? 'highlight' : 'normal' %]
			<input type="radio" name="filter" value="all" id="all"
			  [% 'checked' IF class.match('highlight') %] />
            <label for="all">
                <span class="[% class %]">show all</span>
            </label>
		</div>
	  [% END %]
	</form>

   	<div style="height: 10px">&nbsp;</div>
<!-- END [% component.name %] -->
