Sha256: 44e8d7cb2bae5dfc13bd1876c8f98e72b69bb9900a7bd77eeb814a0a2865f509

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

<nav>
  <ul class="breadcrumb">
    <li><%= link_to resource_collection_name.capitalize, collection_path %> <span class="divider">/</span></li>
<% ancestors = object.ancestors %>
<% ancestors.each_with_index do |ancestor,index| %>
    <li>
      <%= link_to ancestor.name, nested_resource_path(ancestors[0..index]) %>
      <span class="divider">/</span>
    </li>
<% end %>
    <li class="active"><%= object.name %></li>
  </ul>
</nav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
popolo-0.0.2 app/views/popolo/areas_or_organizations/_breadcrumb.html.erb