extends layout

block content
  h1 Import Transactions
  form#importForm(action="/api/v1/import" method="POST" enctype="multipart/form-data")
    label(for="file") Choose CSV or Excel file:
    input(type="file" name="file" id="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel")
    br
    button#exportBtn(type="button") Export
    button(type="submit") Import
    div#result
  script(src="/js/import.js")