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

8 lines
198 B
Text
Raw Normal View History

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