-
- <% @weight = w %>
- <% @matches = @tournament.matches.select{|m| m.weight_id == @weight.id} %>
- <% @wrestlers = Wrestler.where(weight_id: @weight.id) %>
- <% @pools = w.poolRounds(@matches) %>
- <%= @weight.max %> lbs Bracket
-
- <%= render 'pool' %>
- |
-
- |
- <% if w.pool_bracket_type == "twoPoolsToFinal" %>
- <%= render 'twoPoolFinalBracket' %>
- <% end %>
- <% if w.pool_bracket_type == "twoPoolsToSemi" %>
- <%= render 'twoPoolSemiBracket' %>
- <% end %>
- <% if w.pool_bracket_type == "fourPoolsToQuarter" %>
- <%= render 'fourPoolQuarterBracket' %>
- <% end %>
- <% if w.pool_bracket_type == "fourPoolsToSemi" %>
- <%= render 'fourPoolSemiBracket' %>
- <% end %>
- |
+ <%= @tournament.name %> - <%= w.max %> lbs Bracket
+
+ |
+ <% @weight = w %>
+ <% @matches = @tournament.matches.select{|m| m.weight_id == @weight.id} %>
+ <% @wrestlers = Wrestler.where(weight_id: @weight.id) %>
+ <% @pools = w.poolRounds(@matches) %>
+ <%= render 'pool' %>
+ |
+
+
+
+ <% if w.pool_bracket_type == "twoPoolsToFinal" %>
+ <%= render 'twoPoolFinalBracket' %>
+ <% end %>
+ <% if w.pool_bracket_type == "twoPoolsToSemi" %>
+ <%= render 'twoPoolSemiBracket' %>
+ <% end %>
+ <% if w.pool_bracket_type == "fourPoolsToQuarter" %>
+ <%= render 'fourPoolQuarterBracket' %>
+ <% end %>
+ <% if w.pool_bracket_type == "fourPoolsToSemi" %>
+ <%= render 'fourPoolSemiBracket' %>
+ <% end %>
+ |
+