<% if @account.avatar.attached? %> <%= image_tag @account.avatar, class: 'img-thumbnail mb-4' %> <% end %> <% if @account.public_name.present? %>

<%= @account.public_name %>

<% end %>

<%= @account.username %>

<% if @account.person&.party_member? %> <%= translate :member, scope: %i[helpers person_status] %> <% elsif @account.person&.party_supporter? %> <%= translate :supporter, scope: %i[helpers person_status] %> <% elsif @account.person&.excluded_from_party? %> <%= translate :excluded, scope: %i[helpers person_status] %> <% else %> <%= translate :not_in_party, scope: %i[helpers person_status] %> <% end %>
<% if @account.biography %>

<%= @account.biography %>

<% end %>