demarches-normaliennes/app/views/shared/_tab_item.html.haml
2023-11-15 18:42:40 +01:00

7 lines
269 B
Text

%li{ class: (active ? 'active' : nil) }
- if notification
%span.notifications{ 'aria-label': 'notifications' }
= link_to(url, 'aria-selected': active ? true : nil, class: 'fr-tabs__tab' ) do
- if badge.present?
%span.badge.fr-mr-1w= badge
= label