Sha256: d4525124680781206032c5404b0b91a8b413dbec6564eadeb2abceb817a20d8b
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
<%= render partial: 'popolo/areas_or_organizations/breadcrumb', locals: {object: @organization} %> <section> <h1><%= @organization.name %></h1> <ol class="media-list"> <% @posts.asc(:sort_name).each do |post| %> <li class="media"> <% if post.person && post.person.image? %> <span class="pull-left"> <%= image_tag(post.person.image, class: 'image-object') %> </span> <% end %> <div class="media-body"> <h4 class="media-heading"><%= link_to post.name, nested_organization_post_path(@organization.ancestors_and_self, post) %></h4> <% if post.person %> <%= post.person.name %> <% end %> </div> </li> <% end %> </ol> </section>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
popolo-0.0.2 | app/views/popolo/organizations/posts.html.erb |