<% cache ["#{@tournament.id}_up_matches", @tournament] do %>

This page reloads every 30s

Upcoming Matches


<% @mats.each.map do |m| %> <% end %>
Mat On Mat On Deck In The Hole Warm Up
<%= m.name %> <% if m.unfinished_matches.first %><%=m.unfinished_matches.first.bout_number%> - <%= m.unfinished_matches.first.weight_max %> lbs
<%= m.unfinished_matches.first.w1_bracket_name %> vs. <%= m.unfinished_matches.first.w2_bracket_name %><% end %>
<% if m.unfinished_matches.second %><%=m.unfinished_matches.second.bout_number%> - <%= m.unfinished_matches.second.weight_max %> lbs
<%= m.unfinished_matches.second.w1_bracket_name %> vs. <%= m.unfinished_matches.second.w2_bracket_name %><% end %>
<% if m.unfinished_matches.third %><%=m.unfinished_matches.third.bout_number%> - <%= m.unfinished_matches.third.weight_max %> lbs
<%= m.unfinished_matches.third.w1_bracket_name %> vs. <%= m.unfinished_matches.third.w2_bracket_name %><% end %>
<% if m.unfinished_matches.fourth %><%=m.unfinished_matches.fourth.bout_number%> - <%= m.unfinished_matches.fourth.weight_max %> lbs
<%= m.unfinished_matches.fourth.w1_bracket_name %> vs. <%= m.unfinished_matches.fourth.w2_bracket_name %><% end %>

Matches not assigned


<% if @matches.size > 0 %> <% @matches.each.map do |m| %> <% end %> <% end %>
Round Bout Number Weight Class Matchup
Round <%= m.round %> <%= m.bout_number %> <%= m.weight_max %> lbs <%= m.w1_bracket_name %> vs. <%= m.w2_bracket_name %>

<% end %>