%li{ class: "relative #{(active ? 'active' : nil)}", role: 'presentation' } - if notification %span.notifications{ 'aria-label': 'notifications' } = link_to(url, 'aria-selected': active ? true : nil, class: 'fr-tabs__tab', role: 'tab' ) do - if badge.present? %span.fr-badge.fr-badge--blue-ecume.fr-mr-1w= badge = label