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

8 lines
342 B
Text
Raw Normal View History

%li{ class: "relative #{(active ? 'active' : nil)}", role: 'presentation' }
- if notification
%span.notifications{ 'aria-label': 'notifications' }
= link_to(url, 'aria-selected': active ? true : nil, class: 'fr-tabs__tab', role: 'tab' ) do
- if badge.present?
2024-10-09 15:35:58 +02:00
%span.fr-badge.fr-badge--blue-ecume.fr-mr-1w= badge
2021-04-26 17:15:28 +02:00
= label