<%def name="nav_tab(label, href, icon, badge=None, extra_class='')">
  • % if badge: ${badge} % endif % if icon: % endif ${label}