Sha256: dcdf8553a1738ab20f4c4fec4a6f659ea696ed0a08bd6b7a2db95a604057add9
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
test breadcrumb_trails theme <div> <% breadcrumb_trails.each do |trail| %> <div 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 %> ><%= render partial: 'breadcrumble/test/breadcrumb_trail', locals: { trail: trail.drop(1) } %> <% end %> </div> <% end %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems