orbit-basic/app/views/front/show_breadcrumb.html.erb

12 lines
262 B
Plaintext

<% if not @ancestors.empty? %>
<div class='category_list'>
<ul class='list'>
<% @ancestors.each do |node| %>
<li class='active'>
<%= link_to node.title, "/#{node.path}" %>
</li>
<% end %>
</ul>
</div>
<% end %>