2024-05-17 09:09:32 -04:00
|
|
|
<%= content_for :return_to_path, return_to_path(params, imports_path) %>
|
|
|
|
|
|
|
|
<div class="mx-auto max-w-screen-md w-full py-24">
|
|
|
|
<h1 class="sr-only"><%= t(".confirm_title") %></h1>
|
|
|
|
|
|
|
|
<div class="text-center space-y-2 max-w-[400px] mx-auto mb-8">
|
|
|
|
<h2 class="text-3xl text-gray-900 font-medium"><%= t(".confirm_subtitle") %></h2>
|
|
|
|
<p class="text-gray-500 text-sm"><%= t(".confirm_description") %></p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-8 space-y-4">
|
2024-08-09 11:22:57 -04:00
|
|
|
<%= entries_by_date(@import.dry_run, selectable: false) do |entries| %>
|
|
|
|
<%= render entries, show_tags: true, selectable: false, editable: false %>
|
2024-05-30 20:55:18 -04:00
|
|
|
<% end %>
|
2024-05-17 09:09:32 -04:00
|
|
|
</div>
|
|
|
|
|
2024-07-08 14:56:08 +02:00
|
|
|
<%= button_to "Import " + @import.csv.table.size.to_s + " transactions", confirm_import_path(@import), method: :patch, class: "px-4 py-2 block w-60 text-center mx-auto rounded-lg bg-gray-900 text-white text-sm font-medium hover:bg-gray-700", data: { turbo: false } %>
|
2024-05-17 09:09:32 -04:00
|
|
|
</div>
|