<%= turbo_frame_tag dom_id(account) do %>
"> <%= account.name[0].upcase %>

"> <%= account.name %>

"> <%= format_money account.balance_money %>

<%= form_with model: account, method: :patch, html: { class: "flex items-center", data: { turbo_frame: "_top" } } do |form| %>
<%= form.check_box :is_active, class: "sr-only peer", id: "is_active_#{account.id}", onchange: "this.form.requestSubmit();" %>
<% end %>
<% end%>