You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. <h2>Create Jurisdiction</h2>
  2. <%= HTML.FormTag("Jurisdiction", "ImportPost", empty, Array("enctype","multipart/form-data")) %>
  3. <%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("JurisdictionImportForm")) %>
  4. <hr />
  5. <div><p>This will delete all records and import the new records from the file</p></div>
  6. <% if Model.RecordCount <> 0 Then %>
  7. <p>Records in the CSV: <%= Model.RecordCount %></p>
  8. <% End If %>
  9. <div class="form-group">
  10. <div class="row">
  11. <div class="col-md-4">
  12. <div class="form-group">
  13. <label for="Name">Name</label>
  14. <input type="file" id="myFile" name="filename">
  15. </div>
  16. </div>
  17. </div>
  18. <p></p>
  19. <%= HTML.Button("submit", "<i class='glyphicon glyphicon-ok'></i> Upload", "btn-primary") %>
  20. </div>
  21. </form>

Powered by TurnKey Linux.