mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 18:44:13 +00:00
Introduces a basic CSV import module for bulk-importing account transactions. Changes include: - User can load a CSV - User can configure the column mappings for a CSV - Imported CSV shows invalid cells - User can clean up their data directly in the UI - User can see a preview of the import rows and confirm import - Layout refactor + Import nav stepper - System test stability improvements
8 lines
372 B
Plaintext
8 lines
372 B
Plaintext
<%= form_with model: @import do |form| %>
|
|
<div class="mb-4">
|
|
<%= form.collection_select :account_id, Current.family.accounts.alphabetically, :id, :name, { prompt: t(".select_account"), label: t(".account"), required: true } %>
|
|
</div>
|
|
|
|
<%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium" %>
|
|
<% end %>
|