From 5bb4febd792e5332ecea700bc6d8a532acec1289 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Sat, 25 Jan 2020 08:50:04 -0500 Subject: [PATCH] Fix page break for all brackets --- app/views/tournaments/all_brackets.html.erb | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/app/views/tournaments/all_brackets.html.erb b/app/views/tournaments/all_brackets.html.erb index 49c011e..7e4516e 100644 --- a/app/views/tournaments/all_brackets.html.erb +++ b/app/views/tournaments/all_brackets.html.erb @@ -1,5 +1,20 @@ -<% cache ["#{@tournament.id}_all_brackets", @tournament] do %> -
+ + +<% cache ["#{@tournament.id}_all_brackets", @tournament] do %> +
<%= render :file => 'tournaments/team_scores' %> <% @tournament.weights.sort_by{|w| w.max}.each do |weight| %> @@ -24,5 +39,5 @@
<% end %> -
+
<% end %> \ No newline at end of file