- content_for(:title) { "Signups | #{@league.name}" }

- league_p = present(@league)
%h1
  = league_p.link
  Signups

- @divisions.each do |div|
  .card.mb-3
    .card-header= div.name

    - rosters = present_collection(div.rosters)
    - if rosters.empty?
      .card-body.text-muted No rosters signed up

    - else
      %ul.list-group.list-group-flush
        - rosters.each do |roster|
          - klass = roster.approved? ? 'list-group-item-success' : 'list-group-item-warning'
          %li{ class: "list-group-item #{klass}" }
            = roster.link

- content_for(:title) { "Signups | #{@league.name}" }

- league_p = present(@league)
%h1
  = league_p.link
  Signups

- @divisions.each do |div|
  - rosters = present_collection(div.rosters)

  .card.mb-3
    .card-header
      %span.mr-2= div.name
      %span.badge.badge-primary
        #{rosters.size} teams

    - if rosters.empty?
      .card-body.text-muted No rosters signed up

    - else
      %ul.list-group.list-group-flush
        - rosters.each do |roster|
          - klass = roster.approved? ? 'list-group-item-success' : 'list-group-item-warning'
          %li{ class: "list-group-item #{klass}" }
            = roster.link

Add teams count on signups view
Add teams count on signups view
