RSS Git Download  Clone
Raw Blame History
<!-- BEGIN worklist/snippets/lab_section.tt -->
      <table>
		<tr>
          <td class="label">Section:</td>
		  <td class="content">			
            <select name="lab_section_id" id="lab_section_id" onchange="submit()">
				<option value="">&nbsp;</option>
			  [% FOREACH entry IN active_sections %]
				[% NEXT UNLESS entry.is_active.match('yes') # skip inactive %]
				<option value="[% entry.id %]"
                    [% 'selected' IF entry.id == c.query.param('lab_section_id') %]>
                  [% entry.section_name | html %]
				</option>
			  [% END %]
            </select>
		  </td>
		</tr>
	  </table>	  
<!-- END worklist/snippets/lab_section.tt -->