<%# 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 %>
