2025-05-15 10:19:56 -04:00
|
|
|
<%# locals: (account:, header: nil, chart: nil, chart_view: nil, tabs: nil) %>
|
2024-11-04 20:27:31 -05:00
|
|
|
|
|
|
|
<%= turbo_stream_from account %>
|
|
|
|
|
2025-05-15 10:19:56 -04:00
|
|
|
<%= turbo_frame_tag dom_id(account, :container) do %>
|
2025-02-21 11:57:59 -05:00
|
|
|
<%= tag.div class: "space-y-4 pb-32" do %>
|
2024-11-04 20:27:31 -05:00
|
|
|
<% if header.present? %>
|
|
|
|
<%= header %>
|
|
|
|
<% else %>
|
|
|
|
<%= render "accounts/show/header", account: account %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% if chart.present? %>
|
|
|
|
<%= chart %>
|
|
|
|
<% else %>
|
2025-05-15 10:19:56 -04:00
|
|
|
<%= render "accounts/show/chart", account: account, chart_view: chart_view %>
|
2024-11-04 20:27:31 -05:00
|
|
|
<% end %>
|
|
|
|
|
2025-05-02 07:54:12 -04:00
|
|
|
<div class="min-h-[800px]" data-testid="account-details">
|
2024-11-04 20:27:31 -05:00
|
|
|
<% if tabs.present? %>
|
|
|
|
<%= tabs %>
|
|
|
|
<% else %>
|
|
|
|
<%= render "accounts/show/activity", account: account %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|