1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/accounts/show.html.erb

37 lines
1,012 B
Text
Raw Normal View History

2019-02-01 16:36:10 -05:00
<div class="container">
<div class="row">
<div class="col-md-3">
2019-03-23 19:59:38 -04:00
<% if @account.avatar.attached? %>
<%= image_tag @account.avatar, class: 'img-thumbnail mb-4' %>
<% end %>
<% if @account.public_name.present? %>
<h1><%= @account.public_name %></h1>
<% end %>
2019-03-24 15:27:06 -04:00
<p class="h3 text-muted"><%= @account.nickname %></p>
2019-03-24 15:09:57 -04:00
<% if @account.person&.regional_office %>
<div class="mb-2">
<i class="fas fa-map-marker-alt"></i>
2019-03-24 17:37:36 -04:00
<%= link_to(
2019-06-23 11:59:44 -04:00
@account.person.regional_office.federal_subject.display_name,
@account.person.regional_office.federal_subject,
2019-03-24 17:37:36 -04:00
) %>
2019-03-24 15:09:57 -04:00
</div>
<% end %>
2019-03-24 15:32:52 -04:00
<hr/>
<% if @account.biography %>
<p><%= @account.biography %></p>
<% end %>
2019-02-01 16:36:10 -05:00
</div>
2019-02-01 16:36:10 -05:00
<div class="col-md-9">
2019-04-27 05:20:00 -04:00
<%= render partial: 'nav_tabs', locals: { account: @account,
tab: :overview } %>
2019-02-01 16:36:10 -05:00
</div>
</div>
</div>