Sha256: f9a8390042c534e441c23cf6314720df2d1d460c94ca64a2fdfc215d229cd5da

Contents?: true

Size: 447 Bytes

Versions: 15

Compression:

Stored size: 447 Bytes

Contents

<div>
  <% breadcrumbs.each_with_index do |crumb, i| %>
    <%= '>' unless i == 0 %>
    <span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
      <% span_title = content_tag(:span, crumb[:name], itemprop: "title") %>
      <% if crumb[:url] == nil %>
        <%= span_title %>
      <% else %>
        <%= link_to_unless_current span_title, crumb[:url], itemprop: "url" %>
      <% end %>
    </span>
  <% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
breadcrumble-4.2.0 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-4.1.0 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-4.0.0 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.7 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.6 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.5 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.4 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.3 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.2 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.1 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.0 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-3.0.0.beta app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-2.0.1 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-2.0.0 app/views/breadcrumble/_breadcrumb.html.erb
breadcrumble-1.0.1 app/views/breadcrumble/_breadcrumb.html.erb