Sha256: 587b8340d5e667336fad80319338b1bdde3634cb6a1e0da19b0d3dfe7517808e

Contents?: true

Size: 760 Bytes

Versions: 1

Compression:

Stored size: 760 Bytes

Contents

<%= render partial: 'popolo/areas_or_organizations/breadcrumb', locals: {object: @organization} %>

<section>
  <div class="media">
    <% if @post.person && @post.person.image? %>
    <span class="pull-left">
      <%= image_tag(@post.person.image, class: 'media-object') %>
    </span>
    <% end %>
    <div class="media-body">
      <h4 class="media-heading"><%= @post.name %></h4>
      <% if @post.person %>
      <%= @post.person.name %>
      <% end %>
    </div>
  </div>
  <% if @post.person && @post.person.summary? %>
  <p><%= @post.person.summary %></p>
  <% end %>

  <aside>
    <% if @post.person && @post.person.email? %>
    <p>Email: <%= mail_to @post.person.email %></p>
    <% end %>
    <%= render @post.addresses %>
  </aside>
</section>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
popolo-0.0.2 app/views/popolo/organizations/post.html.erb