demarches-normaliennes/app/views/shared/_tab_item.html.haml
2022-01-04 09:44:32 +01:00

7 lines
237 B
Text

%li{ class: (active ? 'active' : nil) }
- if notification
%span.notifications{ 'aria-label': 'notifications' }
= link_to(url, 'aria-current': active ? 'page' : nil) do
- if badge.present?
%span.badge= badge
= label