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