Sha256: 44dab0bfa8dcb837b331e2fcae09a17d482016e48a761d2997c3e141b222c7de
Contents?: true
Size: 325 Bytes
Versions: 2
Compression:
Stored size: 325 Bytes
Contents
<% if @breadcrumbs.present? %> <%= content_tag :ol, options do %> <% @breadcrumbs[0..-2].each do |crumb| %> <li> <%= link_to crumb[:name], crumb[:url], crumb[:options] %> </li> <% end %> <li class="active"> <%= @breadcrumbs.last[:name] %> </li> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twitter-bootstrap-for-rails-1.3.4 | app/views/twitter-bootstrap/_breadcrumbs.erb |
twitter-bootstrap-for-rails-1.3.3 | app/views/twitter-bootstrap/_breadcrumbs.erb |