<!-- BEGIN [% component.name %] -->
[% # this filter is only for sections named below
	# INCLUDE dumper.tt dump = c.cfg('settings');
	IF c.cfg('settings').use_clinical_trial_filter;
		FOREACH entry IN active_sections; # find the selected lab_section
			NEXT UNLESS entry.is_active.match('yes'); # skip inactive
			IF entry.id == c.query.param('lab_section_id') ;
				lab_selected = entry.section_name;
			END;
		END;
		IF exclude_clinical_trial_sections.grep(lab_selected).size > 0 %]
			<p class="indent">
				<b>Exclude clinical trials?</b>
				<input type="checkbox" name="exclude_trials"
					[% IF c.query.param('exclude_trials') %]checked="checked"[% END %] />
			</p>
		[% END # if exclude_clinical_trial_sections %]
	[% END # if use_clinical_trial_filter %]
<!-- END [% component.name %] -->
