mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
* Move accountable partials * Split accountables into separate view partials * Fix test * Add form to permitted partials * Fix failing system tests * Update new account modal views * New sync algorithm implementation * Update account system test assertions to match new behavior * Fix off by 1 date error * Revert new balance sync algorithm * Add missing account overviews
16 lines
629 B
Plaintext
16 lines
629 B
Plaintext
<%# locals: (account:, selected_tab:) %>
|
|
|
|
<div class="flex gap-2 text-sm text-gray-900 font-medium mb-4">
|
|
<%= render "accounts/accountables/tab", account: account, key: "overview", is_selected: selected_tab.in?([nil, "overview"]) %>
|
|
<%= render "accounts/accountables/tab", account: account, key: "value", is_selected: selected_tab == "value" %>
|
|
</div>
|
|
|
|
<div class="min-h-[800px]">
|
|
<% case selected_tab %>
|
|
<% when nil, "overview" %>
|
|
<%= render "accounts/accountables/property/overview", account: account %>
|
|
<% when "value" %>
|
|
<%= render "accounts/accountables/valuations", account: account %>
|
|
<% end %>
|
|
</div>
|