mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
* Remove balance mode, sketch out refactor * Activity view checkpoint * Entry partials, checkpoint * Finish txn partial * Give entries context when editing for different turbo responses * Calculate change of balance for each entry * Account tabs consolidation * Translations, linting, brakeman updates * Account actions concern * Finalize forms, get account system tests passing * Get tests passing * Lint, rubocop, schema updates * Improve routing and stream responses * Fix broken routes * Add import option for adding accounts * Fix system test * Fix test specificity * Fix sparklines * Improve account redirects
17 lines
719 B
Plaintext
17 lines
719 B
Plaintext
<%# locals: (entry:) %>
|
|
|
|
<%= form_with url: unmark_transfers_transactions_path, class: "flex items-center", data: {
|
|
turbo_confirm: {
|
|
title: t(".remove_transfer"),
|
|
body: t(".remove_transfer_body"),
|
|
accept: t(".remove_transfer_confirm"),
|
|
},
|
|
turbo_frame: "_top"
|
|
} do |f| %>
|
|
<%= f.hidden_field "bulk_update[entry_ids][]", value: entry.id %>
|
|
<%= f.button class: "flex items-center justify-center group", title: "Remove transfer" do %>
|
|
<%= lucide_icon "arrow-left-right", class: "group-hover:hidden text-gray-500 w-4 h-4" %>
|
|
<%= lucide_icon "unlink", class: "hidden group-hover:inline-block text-gray-900 w-4 h-4" %>
|
|
<% end %>
|
|
<% end %>
|