Sha256: bb997abe068f926b0a78878aea91b35825f4245eb53ac637deba155be611e652

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

<span itemprop="child" itemscope 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

5 entries across 4 versions & 1 rubygems

Version Path
breadcrumble-5.0.0 spec/dummy/app/views/breadcrumble/test/_breadcrumb_trail.html.erb
breadcrumble-4.3.1 spec/dummy/app/views/breadcrumble/test/_breadcrumb_trail.html.erb
breadcrumble-4.3.0 spec/dummy/app/views/breadcrumble/test/_breadcrumb_trail.html.erb
breadcrumble-4.2.1 app/views/breadcrumble/_breadcrumb_trail.html.erb
breadcrumble-4.2.1 spec/dummy/app/views/breadcrumble/test/_breadcrumb_trail.html.erb