Sha256: 813f0b1fee6cacd3236d809df0509de969b6971f76a53b221b14707f8d37bd6c

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

<% if @breadcrumbs.present? %>
  <ol class="breadcrumb">
    <% @breadcrumbs[0..-2].each do |crumb| %>
      <li>
      	<%= link_to crumb[:name], crumb[:url], crumb[:options] %>
      </li>
    <% end %>
    <li class="active">
      <%= link_to @breadcrumbs.last[:name], @breadcrumbs.last[:url], @breadcrumbs.last[:options] %>
    </li>
  </ol>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twitter-bootswatch-rails-helpers-3.3.2.0 app/views/twitter/bootswatch/_breadcrumbs.html.erb
twitter-bootswatch-rails-helpers-3.2.0.0 app/views/twitter/bootswatch/_breadcrumbs.html.erb
twitter-bootswatch-rails-helpers-3.1.0.0 app/views/twitter/bootswatch/_breadcrumbs.html.erb
twitter-bootswatch-rails-helpers-3.0.0.1 app/views/twitter/bootswatch/_breadcrumbs.html.erb
twitter-bootswatch-rails-helpers-3.0.0.0 app/views/twitter/bootswatch/_breadcrumbs.html.erb