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?
|
2023-11-09 15:02:43 +01:00
|
|
|
%span.badge.fr-mr-1w= badge
|
2021-04-26 17:15:28 +02:00
|
|
|
= label
|