<%= render partial: 'settings/nav_sidebar', locals: { tab: :person } %>
<% if @account.person.nil? %>

<%= translate '.no_person' %>

<% else %>
<%= Person.human_attribute_name :last_name %>
<%= maybe_or_none @account.person.last_name.present? do %> <%= truncate @account.person.last_name %> <% end %>
<%= Person.human_attribute_name :first_name %>
<%= maybe_or_none @account.person.first_name.present? do %> <%= truncate @account.person.first_name %> <% end %>
<%= Person.human_attribute_name :middle_name %>
<%= maybe_or_none @account.person.middle_name.present? do %> <%= truncate @account.person.middle_name %> <% end %>
<%= Person.human_attribute_name :sex %>
<%= maybe_or_none @account.person.sex.present? do %> <%= translate_enum :sex, @account.person.sex %> <% end %>
<%= Person.human_attribute_name :date_of_birth %>
<%= maybe_or_none @account.person.date_of_birth.present? do %> <%= localize @account.person.date_of_birth %> <% end %>
<%= Person.human_attribute_name :place_of_birth %>
<%= maybe_or_none @account.person.place_of_birth.present? do %> <%= truncate @account.person.place_of_birth %> <% end %>
<% end %>