RSS Git Download  Clone
Raw Blame History
<!-- BEGIN [% component.name %] -->
    [% # PROCESS dumper.tt dump = s.as_tree FOREACH s IN lab_sections %]
    <select name="lab_section" id="lab_section"
            onchange="showhide_results_summaries(this.form,this.value)">
        <option value="">&nbsp;</option>
        [% FOREACH entry IN lab_sections;
            NEXT UNLESS entry.is_active.match('yes');
        %]
          <option value="[% entry.id %]" [% 'selected'
            IF entry.id == c.query.param('lab_section') %]>[% entry.section_name %]
          </option>
        [% END %]
    </select>
    [% error_lab_section %]

    <!-- // replaced by ajax output after selection of lab-section: -->
    <select name="results_summary_id" id="summary_description">
        [% IF results_summary %]
            <option value="">[% results_summary %]</option>
        [% ELSE %]
            <option value="">--select one--</option>
        [% END %]
    </select>
    [% error_results_summary_id %]
<!-- END [% component.name %] -->