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

8 lines
318 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?
%span.badge.fr-mr-1w= badge
2021-04-26 17:15:28 +02:00
= label