<!-- BEGIN hmrn/data/precursor.tt -->
    [% # PROCESS dumper.tt dump = hmrn_data.precursor %]
	
    [% IF not_using_validationEngine_jquery # then use 'basic' jquery val %]
	<script type="text/javascript"> 
	    $(document).ready(function() { 
	      $("#precursor").validate({ 
            rules: { },
          });
        });
    </script>
    [% ELSE %]
	<script type="text/javascript">
		$(document).ready(function() {
			$("#precursor").validationEngine()
		})
	</script>
    [% END %]
  
	<h4 class="indent">
		1. Precursor cell data:
		[% div_name = 'precursorData'; INCLUDE site/snippets/toggleview.tt %]
	</h4>
	
	<div id="[% div_name %]" class="[% hmrn_data.category_has_data.precursor.size
		|| c.query.param('data_set') == 'precursor'	? 'visible' : 'itemhidden' %]">
		
	<form method="post" name="precursor" id="precursor"
			action="[% app_url %]/hmrn_data/edit/[% data.id	%]/[% patient.id %]">
		<input type="hidden" name="data_set" value="precursor" />
		
		<table class="indent">
			<tr>
				<td class="label">CNS disease:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'cns'
                        type  = 'precursor'
                    %]
					[% error_cns %]
				</td>
			</tr>
			[% INCLUDE hmrn_submit %]
		</table>
    </form>
	</div>
<!-- END hmrn/data/precursor.tt -->
