2018-02-05 17:27:12 +00:00
|
|
|
%nav{'aria-label': 'breadcrumb', role: 'navigation'}
|
|
|
|
%ol.breadcrumb
|
2018-02-19 21:16:48 +00:00
|
|
|
- crumbs.compact.each do |crumb|
|
2018-02-05 17:27:12 +00:00
|
|
|
- if crumb == crumbs.last
|
|
|
|
%li.breadcrumb-item.active{'aria-current': 'page'}= crumb
|
|
|
|
- else
|
|
|
|
%li.breadcrumb-item= crumb
|