%ul.breadcrumb - breadcrumbs.each do |breadcrumb| - active = breadcrumb.active?(request) %li{ class: ('active' if active) } = link_to breadcrumb.title, breadcrumb.path