<%= turbo_frame_tag dom_id(@account, "trades") do %>
" class="bg-white space-y-4 p-5 border border-alpha-black-25 rounded-xl shadow-xs">

<%= t(".trades") %>

<%= link_to new_account_trade_path(@account), id: dom_id(@account, "new_trade"), class: "flex gap-1 font-medium items-center bg-gray-50 text-gray-900 p-2 rounded-lg", data: { turbo_frame: :modal } do %> <%= lucide_icon("plus", class: "w-5 h-5 text-gray-900") %> <%= t(".new") %> <% end %>
<%= check_box_tag "selection_entry", class: "maybe-checkbox maybe-checkbox--light", data: { action: "bulk-select#togglePageSelection" } %> <%= tag.p t(".trade") %>
<%= tag.p t(".type"), class: "col-span-3 justify-self-end" %> <%= tag.p t(".amount"), class: "col-span-3 justify-self-end" %>
<% if @entries.empty? %>

<%= t(".no_trades") %>

<% else %>
<%= entries_by_date(@entries) do |entries| %> <%= render partial: "account/trades/trade", collection: entries, as: :entry %> <% end %>
<% end %>
<% end %>