<%= tag.p t(".name"), class: "col-span-4" %>
<%= tag.p t(".weight"), class: "col-span-2 justify-self-end" %>
<%= tag.p t(".average_cost"), class: "col-span-2 justify-self-end" %>
<%= tag.p t(".holdings"), class: "col-span-2 justify-self-end" %>
<%= tag.p t(".return"), class: "col-span-2 justify-self-end" %>
<% if @account.cash_balance.to_d > 0 %>
<%= render "holdings/cash", account: @account %>
<%= render "shared/ruler" %>
<% end %>
<% if @account.current_holdings.any? %>
<%= render partial: "holdings/holding",
collection: @account.current_holdings,
spacer_template: "shared/ruler" %>
<% end %>