<%= summary_card title: t(".market_value") do %>
<%= format_money(account.balance_money) %>
<% end %>
<%= summary_card title: t(".purchase_price") do %>
<%= account.property.purchase_price ? format_money(account.property.purchase_price) : t(".unknown") %>
<% end %>
<%= summary_card title: t(".trend") do %>
<%= account.property.trend.value %>
(<%= account.property.trend.percent %>%)
<% end %>
<%= summary_card title: t(".year_built") do %>
<%= account.property.year_built || t(".unknown") %>
<% end %>
<%= summary_card title: t(".living_area") do %>
<%= account.property.area || t(".unknown") %>
<% end %>
<%= link_to "Edit account details", edit_property_path(account), class: "btn btn--ghost", data: { turbo_frame: :modal } %>