<h2>Create Jurisdiction</h2>

<%= HTML.FormTag("Jurisdiction", "ImportPost", empty, Array("enctype","multipart/form-data")) %>
<%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("JurisdictionImportForm")) %>
<hr />
<div><p>This will delete all records and import the new records from the file</p></div>
<% if Model.RecordCount <> 0 Then %>
<p>Records in the CSV: <%= Model.RecordCount %></p>
<% End If %>
<div class="form-group">
	<div class="row">
		<div class="col-md-4">
			<div class="form-group">
				<label for="Name">Name</label>
				  <input type="file" id="myFile" name="filename">
			</div>
		</div>
	</div>
	<p></p>
    <%= HTML.Button("submit", "<i class='glyphicon glyphicon-ok'></i> Upload", "btn-primary") %>
</div>

</form>
