<!-- 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 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"
			  [% 'checked' IF class.match('highlight') %] />
			<span class="[% class %]">CMP only</span>
		  </span>

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

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

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

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

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

	  [% 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"
			  [% 'checked' IF class.match('highlight') %] />
			<span class="[% class %]">with incomplete tests</span>
		   </span>
		</div>
		<div class="indent">
		  <span>[% class = filter.match('no_incomplete_tests') ? 'highlight' : 'normal' %]
			<input type="radio" name="filter" value="no_incomplete_tests"
			  [% 'checked' IF class.match('highlight') %] />
			<span class="[% class %]">no incomplete tests</span>
		  </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"
			  [% 'checked' IF class.match('highlight') %] />
			<span class="[% class %]">show all</span>
		</div>
	  [% END %]
	</form>

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