mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-14 08:58:29 +00:00
Added 7/8 place match for double elimination bracket view
This commit is contained in:
@@ -39,4 +39,13 @@
|
|||||||
<% @final_match = @matches.select{|m|m.bracket_position == "5/6"} %>
|
<% @final_match = @matches.select{|m|m.bracket_position == "5/6"} %>
|
||||||
<% @winner_place = "5th" %>
|
<% @winner_place = "5th" %>
|
||||||
<%= render 'bracket_final' %>
|
<%= render 'bracket_final' %>
|
||||||
</div>
|
</div>
|
||||||
|
<% if @tournament.number_of_placers >= 8 %>
|
||||||
|
<h4>7/8 place match</h4>
|
||||||
|
<div class="bracket">
|
||||||
|
<!--Round 1-->
|
||||||
|
<% @final_match = @matches.select{|m|m.bracket_position == "7/8"} %>
|
||||||
|
<% @winner_place = "7th" %>
|
||||||
|
<%= render 'bracket_final' %>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
Reference in New Issue
Block a user