Skip to content

Commit

Permalink
CSV file format in Import CSV dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
crmne committed Nov 26, 2024
1 parent 0366f7c commit c039274
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/users/settings/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@
<dialog id="import_modal" class="modal">
<div class="modal-box">
<h3 class="font-bold text-lg mb-4">Import Headache Logs</h3>
<p class="mb-4">
The CSV file needs to have the following format:
<div class="mb-4">
<code>start_time, end_time, intensity, medication, triggers, notes</code>
</div>
<p>
<p>Any CSV file exported from Cluster Headache Tracker will work.</p>
<%= form_tag import_headache_logs_path, multipart: true, class: "space-y-4" do %>
<div class="form-control w-full">
<label class="label">
Expand Down

0 comments on commit c039274

Please sign in to comment.