5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 09:31:43 +00:00
panel/app/views/layouts/_breadcrumb.haml

9 lines
300 B
Text
Raw Normal View History

2018-02-05 17:27:12 +00:00
%nav{'aria-label': 'breadcrumb', role: 'navigation'}
%ol.breadcrumb
2018-02-26 22:08:21 +00:00
%li.breadcrumb-item= render 'login/logout'
- 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