Sha256: 941ca9c48298d5ea1e2aa132cb7f3f0bc489c3f6f02481af6531e955f896c0a0

Contents?: true

Size: 441 Bytes

Versions: 8

Compression:

Stored size: 441 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
twitter-bootswatch-rails-helpers-2.3.2.1 app/views/twitter/bootswatch/_breadcrumbs.html.erb
twitter-bootswatch-rails-helpers-2.3.2 app/views/twitter/bootswatch/_breadcrumbs.html.erb
twitter-bootswatch-rails-helpers-2.3.1 app/views/twitter/bootswatch/_breadcrumbs.html.erb
cf-twitter-bootstrap-rails-2.1.3 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.3 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.2 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.1 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.0 app/views/twitter-bootstrap/_breadcrumbs.html.erb