demarches-normaliennes/app/views/shared/_tab_item.html.haml

8 lines
237 B
Text
Raw Normal View History

%li{ class: (active ? 'active' : nil) }
- if notification
%span.notifications{ 'aria-label': 'notifications' }
2021-12-24 18:10:50 +01:00
= link_to(url, 'aria-current': active ? 'page' : nil) do
- if badge.present?
%span.badge= badge
2021-04-26 17:15:28 +02:00
= label