<%= form_with model: import, class: "contents", data: { controller: "direct-upload", direct_upload_url_value: rails_direct_uploads_url, direct_upload_target: "form" } do |form| %>

JSON files from your Takeout/Location History/Semantic Location History/YEAR

The Records.json file from your Google Takeout

A JSON file you received after your request for Takeout from your mobile device

A .REC file you could find in your volumes/owntracks-recorder/store/rec/USER/TOPIC directory

A valid GeoJSON file. For example, a file, exported from a Dawarich instance

GPX track file

<%= form.submit class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer", data: { direct_upload_target: "submit" } %>
<% end %>