.card-header.p-0
  .scrollable-tabs#profile-tabs{ role: 'tablist' }
    = link_to('#involved-packages', id: 'involved-packages-tab', class: 'scrollable-tab-link active', role: 'tab', aria: { selected: true,
               controls: 'involved-packages' }, data: { 'bs-toggle': 'tab' }) do
      Involved Packages
      %span.badge.text-bg-primary
        = involved_packages.size
    = link_to('#involved-projects', id: 'involved-projects-tab', class: 'scrollable-tab-link', role: 'tab', aria: { selected: false,
               controls: 'involved-projects' }, data: { 'bs-toggle': 'tab' }) do
      Involved Projects
      %span.badge.text-bg-primary
        = involved_projects.size
    = link_to('#owned', id: 'owned-tab', class: 'scrollable-tab-link', role: 'tab', aria: { selected: false,
              controls: 'owned' }, data: { 'bs-toggle': 'tab' }) do
      Owned Projects/Packages
      %span.badge.text-bg-primary
        = owned.size

- content_for :ready_function do
  toggleTabs('profile-tabs');
