[%
  my.meta_title = "Worklist &raquo; Data Entry &raquo; ${lab_section.section_name}";
%]

<!-- BEGIN [% template.name %] -->	
  <p class="classname">[% site.html.back_button %]</p>
  
  <h3>[% lab_section.section_name _ ' data entry' %]
      [%IF c.query.param('exclude_trials') %] (excluding clinical trials)  [%END %]
</h3>  

    [% IF dfv_errors %]
        <p class="error">[% c.config('msg').dfv_errors %]</p>
    [% END %]

  [% worklist_update_status_dfv_js %]

  <form action="[% app_url %]/worklist/update_results/[% lab_section.id %]"
      [% worklist_update_status_onsubmit %] method="post" name="update_results"
        id="update_results">
    <input type="hidden" name="results_entry" value="1" />
	<input type="hidden" name="query_params"
        value="[% c.query.self_url # preserve for possible redirect %]" />
    [%
        INCLUDE worklist/snippets/data_entry.tt;
        INCLUDE worklist/snippets/display_table.tt;
    %]
  </form>
<!-- END [% template.name %] -->	
