Sha256: 44541c13c581138b767e71dc2da7f6dfc2b0afe2740e39bc62b126c7921df473

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 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 %>
  ><%= render partial: 'breadcrumble/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
  <% end %>
</span>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
breadcrumble-3.0.4 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-3.0.3 app/views/breadcrumble/_breadcrumb_trail.html.erb