>
      <div class="oh-tabs__input-badge-container">
        <span
          class="oh-badge oh-badge--secondary oh-badge--small oh-badge--round ms-2 mr-2"
          id="recruitmentCandidateCount{{rec.id}}"
          title="{{rec.stage_set.count}} {% trans "Stages" %}"
          onclick="event.stopPropagation()">
          {{rec.stage_set.count}}
          </span
        >
      </div>
      {% if perms.recruitment.change_recruitment or request.user|recruitment_manages:rec or perms.recruitment.add_candidate