Sha256: 09b4e6881172a4545975285030717c0f4f160b230385dec275619c253490a6bc

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

<% if breadcrumb_trail.any? %>
<ul id='breadcrumbs'>
  <% breadcrumb_trail do |crumb| %>
    <li class="<%= crumb.current? ? 'selected' : '' %>">
      <%= link_to crumb.name, crumb.url %>
      <% unless crumb.current? %>
        <span>::</span>
      <% end %>
    </li>
  <% end %>
</ul>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
loaf-0.8.1 spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
loaf-0.8.0 spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
loaf-0.7.0 spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
loaf-0.6.2 spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
loaf-0.6.1 spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
loaf-0.6.0 spec/rails_app/app/views/layouts/_breadcrumbs.html.erb