Sha256: 73fe40ea55862e582fcbad03adbe5951e283ed08e90330d7dea40929ebb540b0

Contents?: true

Size: 379 Bytes

Versions: 27

Compression:

Stored size: 379 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">
      <%= @breadcrumbs.last[:name] %>
    </li>
  </ul>
<% end %>

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
twitter-bootstrap-rails-2.1.8 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.7 app/views/twitter-bootstrap/_breadcrumbs.html.erb
rbootstrap-1.1.2 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.6 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.5 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-rails-2.1.4 app/views/twitter-bootstrap/_breadcrumbs.html.erb
twitter-bootstrap-turbo-2.1.3 app/views/twitter-bootstrap/_breadcrumbs.html.erb