2024-11-04 20:27:31 -05:00
|
|
|
<%# locals: (account:, header: nil, chart: nil, tabs: nil) %>
|
|
|
|
|
|
|
|
<%= turbo_stream_from account %>
|
|
|
|
|
|
|
|
<%= turbo_frame_tag dom_id(account) 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 %>
|
|
|
|
<%= render "accounts/show/chart", account: account %>
|
|
|
|
<% end %>
|
|
|
|
|
2025-04-30 18:14:22 -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 %>
|