<h1 class="alt">Past Games</h1>

<h2 class="alt">Year</h2>

<ul class="game-years">
    <% for year in Game.years %>
        <% if year == @selected_year %>
            <li class="nobr"><strong><%= "#{year} - #{year + 1}" %></strong></li>
        <% else %>
            <li class="nobr"><%= link_to "#{year} - #{year + 1}", past_games_path(year) %></li>
        <% end %>
    <% end %>
</ul>

<%= render :partial => "event_calendar_table", :locals => { :games => @games } %>
<h1 class="alt">Past Games</h1>

<h2 class="alt">Year</h2>

<ul class="game-years">
    <% for year in Game.years %>
        <% if year == @selected_year %>
            <li><strong><%= "#{year} - #{year + 1}" %></strong></li>
        <% else %>
            <li><%= link_to "#{year} - #{year + 1}", past_games_path(year) %></li>
        <% end %>
    <% end %>
</ul>

<%= render :partial => "event_calendar_table", :locals => { :games => @games } %>
Stop year labels overlapping in mobile.
Stop year labels overlapping in mobile.
