1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

For double elimm printable brackets, only spill onto second page for brackets over 16 wrestlers.

This commit is contained in:
2025-01-25 20:43:52 -05:00
parent 690e497654
commit 735f7090b2

View File

@@ -17,10 +17,13 @@
<% @winner_place = "1st" %> <% @winner_place = "1st" %>
<%= render 'bracket_final' %> <%= render 'bracket_final' %>
</div> </div>
<% if @weight.wrestlers.size > 16 %>
</div> </div>
</div> </div>
<div class="page-landscape"> <!-- <div class="page-landscape"> -->
<div class="page">
<div class="bracket-container"> <div class="bracket-container">
<% end %>
<h4><%= @tournament.name %> - <%= @weight.max %> Bracket</h4> <h4><%= @tournament.name %> - <%= @weight.max %> Bracket</h4>
<h4>Consolation Bracket</h4> <h4>Consolation Bracket</h4>
<div class="bracket"> <div class="bracket">