2018-08-16 14:30:55 +00:00
|
|
|
%li{ class: (active ? 'active' : nil) }
|
|
|
|
- if notification
|
|
|
|
%span.notifications{ 'aria-label': 'notifications' }
|
2023-11-09 15:02:43 +01:00
|
|
|
= link_to(url, 'aria-selected': active ? true : nil, class: 'fr-tabs__tab' ) do
|
2018-08-16 14:30:55 +00:00
|
|
|
- if badge.present?
|
2023-11-09 15:02:43 +01:00
|
|
|
%span.badge.fr-mr-1w= badge
|
2021-04-26 17:15:28 +02:00
|
|
|
= label
|