demarches-normaliennes/app/views/shared/_tab_item.html.haml
2021-05-06 09:13:20 +02:00

7 lines
198 B
Text

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