Sha256: fbf2c748bd3204954daad59bedf08ceed952f707963721a76c0bd6cec43dd3e6

Contents?: true

Size: 449 Bytes

Versions: 8

Compression:

Stored size: 449 Bytes

Contents

<span itemscope="child" itemtype="http://data-vocabulary.org/Breadcrumb">
  <% span_title = content_tag(:span, trail[0][:name], itemprop: "title") %>
  <% if trail[0][:url] == nil %>
    <%= span_title %>
  <% else %>
    <%= link_to_unless_current span_title, trail[0][:url], itemprop: "url" %>
  <% end %>
  <% if trail.size > 1 %>
  &gt;<%= render partial: 'breadcrumble/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
  <% end %>
</span>

Version data entries

8 entries across 6 versions & 1 rubygems

Version Path
breadcrumble-4.2.0 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-4.2.0 spec/dummy/app/views/breadcrumble/test/_breadcrumb_trail.html.erb
breadcrumble-4.1.0 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-4.1.0 spec/dummy/app/views/breadcrumble/test/_breadcrumb_trail.html.erb
breadcrumble-4.0.0 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-3.0.7 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-3.0.6 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-3.0.5 app/views/breadcrumble/_breadcrumb_trail.html.erb