% if @breadcrumbs and not @breadcrumbs.empty? %>
<% @breadcrumbs.each_with_index do |crumb, i| %>
<% if i < @breadcrumbs.length - 1%>
-
<%= icon_for crumb[2] %>
<%= link_to truncate(crumb[0]), crumb[1] %>/
<% else %>
- <%= icon_for crumb[2] %> <%= truncate(crumb[0]) %>
<% end %>
<% end %>
<% end %>