<%= t(".transactions") %>
<%= link_to new_transaction_path(account_id: @account),
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 %>
">
<%= render "selection_bar" %>
<% if @entries.empty? %>
<%= t(".no_transactions") %>
<% else %>
<%= entries_by_date(@entries) do |entries| %>
<%= render entries %>
<% end %>
<% end %>
<% end %>