mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-07 06:54:16 +00:00
Fixed all_brackets page
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
<% @weight = w %>
|
<% @weight = w %>
|
||||||
<% @matches = @tournament.upcomingMatches.select{|m| m.weight_id == @weight.id} %>
|
<% @matches = @tournament.upcomingMatches.select{|m| m.weight_id == @weight.id} %>
|
||||||
<% @wrestlers = Wrestler.where(weight_id: @weight.id) %>
|
<% @wrestlers = Wrestler.where(weight_id: @weight.id) %>
|
||||||
|
<% @pools = w.poolRounds(@matches) %>
|
||||||
<h5><%= @weight.max %> lbs Bracket</h5>
|
<h5><%= @weight.max %> lbs Bracket</h5>
|
||||||
|
|
||||||
<%= render 'pool' %>
|
<%= render 'pool' %>
|
||||||
|
|||||||
Reference in New Issue
Block a user