From 735f7090b2040f52ae398f6fa1faca70bad74154 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Sat, 25 Jan 2025 20:43:52 -0500 Subject: [PATCH] For double elimm printable brackets, only spill onto second page for brackets over 16 wrestlers. --- app/views/tournaments/_double_elimination_bracket.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/tournaments/_double_elimination_bracket.html.erb b/app/views/tournaments/_double_elimination_bracket.html.erb index 504aaa6..4285ce1 100644 --- a/app/views/tournaments/_double_elimination_bracket.html.erb +++ b/app/views/tournaments/_double_elimination_bracket.html.erb @@ -17,10 +17,13 @@ <% @winner_place = "1st" %> <%= render 'bracket_final' %> +<% if @weight.wrestlers.size > 16 %> -
+ +
+<% end %>

<%= @tournament.name %> - <%= @weight.max %> Bracket

Consolation Bracket