Skip to content

Commit

Permalink
disable turbolinks on download roster link (#2760)
Browse files Browse the repository at this point in the history
Co-authored-by: Sri Harsha <sriharsha.poosa@gmail.com>
  • Loading branch information
utkarsh7989 and sri49 authored Sep 16, 2024
1 parent 76080d5 commit c36866b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<i class="fa fa-times fa-3x pull-right modal-close"></i>
<h2>Upload Employee Roster</h2>
<h4>If you completed your employee roster offline using our Microsoft Excel template, find the file on your computer and upload it here.</h4>
<%= link_to(main_app.document_employees_template_download_path + "?contenttype=application/vnd.ms-excel&filename=Health Connector - Employee Census Template.xlsx", class: "download") do %>
<%= link_to(main_app.document_employees_template_download_path + "?contenttype=application/vnd.ms-excel&filename=Health Connector - Employee Census Template.xlsx", class: "download", data: { turbolinks: false }) do %>
<h4>Need the template? <i class="fa fa-arrow-circle-o-down fa-lg"></i>
Download it now.
<% end %>
Expand All @@ -16,4 +16,4 @@
<%= label_tag :file, 'Select File To Upload', class: 'select btn btn-primary ' %>
<%= f.submit 'Upload', class: 'btn btn-primary ' %>
<% end %>
</div>
</div>

0 comments on commit c36866b

Please sign in to comment.