.nobreak
  %h3= "Wave #{wave}"
  - if wave_times.count > 0
    %h4= wave_times.where(wave: wave).first.try(:scheduled_time)

  %table.full.grid
    %thead
      %tr
        %th ID
        %th Name
        - if @competition.age_group_type
          %th Age Group
        %th= RepresentationType.description

    %tbody
      - competitors.each do |comp|
        -# Why is this cached with i18n?
        - cache_i18n [@competition, comp, @config] do
          %tr
            %td= comp.bib_number
            %td
              = name_with_team(comp)
            - if @competition.age_group_type
              %td= comp.age_group_entry_description
            %td= comp.representation

.nobreak
  %h3= "Wave #{wave}"
  - if wave_times.count > 0
    %h4= wave_times.where(wave: wave).first.try(:scheduled_time)

  %table.full.grid
    %thead
      %tr
        %th ID
        %th Name
        - if @competition.age_group_type
          %th Age Group
        %th= RepresentationType.description

    %tbody
      - competitors.each do |comp|
        -# Why is this cached with i18n?
        - cache_i18n [@competition, comp, @config] do
          %tr
            %td= comp.bib_number
            %td
              = name_with_team(comp)
            - if @competition.age_group_type
              %td= comp.age_group_entry_description
            %td= comp.representation
.page-break

Add pagebreak after each wave
Add pagebreak after each wave

Fixes #557
