2023-11-16 14:06:05 +01:00
|
|
|
%li{ class: "relative #{(active ? 'active' : nil)}", role: 'presentation' }
|
2018-08-16 16:30:55 +02:00
|
|
|
- if notification
|
|
|
|
%span.notifications{ 'aria-label': 'notifications' }
|
2023-11-14 12:05:17 +01:00
|
|
|
= link_to(url, 'aria-selected': active ? true : nil, class: 'fr-tabs__tab', role: 'tab' ) do
|
2018-08-16 16:30:55 +02:00
|
|
|
- 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
|