diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb
index 897df43..468c632 100644
--- a/app/controllers/static_pages_controller.rb
+++ b/app/controllers/static_pages_controller.rb
@@ -39,6 +39,12 @@ class StaticPagesController < ApplicationController
@seed6 = Wrestler.where(weight_id: @weight.id, original_seed: 6).first
@seed8 = Wrestler.where(weight_id: @weight.id, original_seed: 8).first
@seed3 = Wrestler.where(weight_id: @weight.id, original_seed: 3).first
+ @seed11 = Wrestler.where(weight_id: @weight.id, original_seed: 11).first
+ @seed12 = Wrestler.where(weight_id: @weight.id, original_seed: 12).first
+ @seed13 = Wrestler.where(weight_id: @weight.id, original_seed: 13).first
+ @seed14 = Wrestler.where(weight_id: @weight.id, original_seed: 14).first
+ @seed15 = Wrestler.where(weight_id: @weight.id, original_seed: 15).first
+ @seed16 = Wrestler.where(weight_id: @weight.id, original_seed: 16).first
end
@@ -79,6 +85,12 @@ class StaticPagesController < ApplicationController
@seed6 = Wrestler.where(weight_id: weight.id, original_seed: 6).first
@seed8 = Wrestler.where(weight_id: weight.id, original_seed: 8).first
@seed3 = Wrestler.where(weight_id: weight.id, original_seed: 3).first
+ @seed11 = Wrestler.where(weight_id: @weight.id, original_seed: 11).first
+ @seed12 = Wrestler.where(weight_id: @weight.id, original_seed: 12).first
+ @seed13 = Wrestler.where(weight_id: @weight.id, original_seed: 13).first
+ @seed14 = Wrestler.where(weight_id: @weight.id, original_seed: 14).first
+ @seed15 = Wrestler.where(weight_id: @weight.id, original_seed: 15).first
+ @seed16 = Wrestler.where(weight_id: @weight.id, original_seed: 16).first
@bracket_size = Wrestler.where(weight_id: weight.id).count
def createMatch(r_id,g_id,tournament)
@match = Match.new
@@ -88,7 +100,16 @@ class StaticPagesController < ApplicationController
@match.round = 1
@match.save
end
- if @bracket_size == 10
+ if @bracket_size == 16
+ createMatch(@seed1.id,@seed16.id,@tournament.id)
+ createMatch(@seed12.id,@seed8.id,@tournament.id)
+ createMatch(@seed2.id,@seed15.id,@tournament.id)
+ createMatch(@seed11.id,@seed7.id,@tournament.id)
+ createMatch(@seed3.id,@seed14.id,@tournament.id)
+ createMatch(@seed10.id,@seed6.id,@tournament.id)
+ createMatch(@seed4.id,@seed13.id,@tournament.id)
+ createMatch(@seed9.id,@seed5.id,@tournament.id)
+ elsif @bracket_size == 10
createMatch(@seed1.id,@seed10.id,@tournament.id)
createMatch(@seed5.id,@seed7.id,@tournament.id)
createMatch(@seed2.id,@seed9.id,@tournament.id)
@@ -117,6 +138,11 @@ class StaticPagesController < ApplicationController
@seed6 = Wrestler.where(weight_id: weight.id, original_seed: 6).first
@seed8 = Wrestler.where(weight_id: weight.id, original_seed: 8).first
@seed3 = Wrestler.where(weight_id: weight.id, original_seed: 3).first
+ @seed12 = Wrestler.where(weight_id: @weight.id, original_seed: 12).first
+ @seed13 = Wrestler.where(weight_id: @weight.id, original_seed: 13).first
+ @seed14 = Wrestler.where(weight_id: @weight.id, original_seed: 14).first
+ @seed15 = Wrestler.where(weight_id: @weight.id, original_seed: 15).first
+ @seed16 = Wrestler.where(weight_id: @weight.id, original_seed: 16).first
@bracket_size = Wrestler.where(weight_id: weight.id).count
def createMatch(r_id,g_id,tournament)
@match = Match.new
@@ -126,7 +152,16 @@ class StaticPagesController < ApplicationController
@match.round = 2
@match.save
end
- if @bracket_size == 10
+ if @bracket_size == 16
+ createMatch(@seed1.id,@seed12.id,@tournament.id)
+ createMatch(@seed16.id,@seed8.id,@tournament.id)
+ createMatch(@seed2.id,@seed11.id,@tournament.id)
+ createMatch(@seed15.id,@seed7.id,@tournament.id)
+ createMatch(@seed3.id,@seed10.id,@tournament.id)
+ createMatch(@seed14.id,@seed6.id,@tournament.id)
+ createMatch(@seed4.id,@seed9.id,@tournament.id)
+ createMatch(@seed13.id,@seed5.id,@tournament.id)
+ elsif @bracket_size == 10
createMatch(@seed1.id,@seed5.id,@tournament.id)
createMatch(@seed10.id,@seed4.id,@tournament.id)
createMatch(@seed2.id,@seed6.id,@tournament.id)
@@ -156,6 +191,11 @@ class StaticPagesController < ApplicationController
@seed6 = Wrestler.where(weight_id: weight.id, original_seed: 6).first
@seed8 = Wrestler.where(weight_id: weight.id, original_seed: 8).first
@seed3 = Wrestler.where(weight_id: weight.id, original_seed: 3).first
+ @seed12 = Wrestler.where(weight_id: @weight.id, original_seed: 12).first
+ @seed13 = Wrestler.where(weight_id: @weight.id, original_seed: 13).first
+ @seed14 = Wrestler.where(weight_id: @weight.id, original_seed: 14).first
+ @seed15 = Wrestler.where(weight_id: @weight.id, original_seed: 15).first
+ @seed16 = Wrestler.where(weight_id: @weight.id, original_seed: 16).first
@bracket_size = Wrestler.where(weight_id: weight.id).count
def createMatch(r_id,g_id,tournament)
@match = Match.new
@@ -165,7 +205,16 @@ class StaticPagesController < ApplicationController
@match.round = 3
@match.save
end
- if @bracket_size == 10
+ if @bracket_size == 16
+ createMatch(@seed1.id,@seed8.id,@tournament.id)
+ createMatch(@seed12.id,@seed16.id,@tournament.id)
+ createMatch(@seed2.id,@seed7.id,@tournament.id)
+ createMatch(@seed11.id,@seed15.id,@tournament.id)
+ createMatch(@seed3.id,@seed6.id,@tournament.id)
+ createMatch(@seed10.id,@seed14.id,@tournament.id)
+ createMatch(@seed4.id,@seed5.id,@tournament.id)
+ createMatch(@seed9.id,@seed13.id,@tournament.id)
+ elsif @bracket_size == 10
createMatch(@seed1.id,@seed4.id,@tournament.id)
createMatch(@seed10.id,@seed7.id,@tournament.id)
createMatch(@seed2.id,@seed3.id,@tournament.id)
diff --git a/app/views/static_pages/_man12.html.erb b/app/views/static_pages/_man12.html.erb
new file mode 100644
index 0000000..e7a2bb2
--- /dev/null
+++ b/app/views/static_pages/_man12.html.erb
@@ -0,0 +1,155 @@
+
+
Pool 1
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 1. <%= @seed1.name %> <%= @seed1.season_win %>-<%= @seed1.season_loss %> <%= School.find(@seed1.school_id).name %> |
+ BYE |
+ V3 |
+ V4 |
+
+
+ | 2. BYE |
+ V1 |
+ V4 |
+ V3 |
+
+
+ | 3. <%= @seed12.name %> <%= @seed12.season_win %>-<%= @seed12.season_loss %> <%= School.find(@seed12.school_id).name %> |
+ V4 |
+ V1 |
+ BYE |
+
+
+ | 4. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %> <%= School.find(@seed8.school_id).name %> |
+ V3 |
+ BYE |
+ V1 |
+
+
+
+
+
+Pool 2
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 5. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> <%= School.find(@seed2.school_id).name %> |
+ BYE |
+ V7 |
+ V8 |
+
+
+ | 6. BYE |
+ V6 |
+ V8 |
+ V7 |
+
+
+ | 7. <%= @seed11.name %> <%= @seed11.season_win %>-<%= @seed11.season_loss %> <%= School.find(@seed11.school_id).name %> |
+ V8 |
+ V5 |
+ BYE |
+
+
+ | 8. <%= @seed7.name %> <%= @seed7.season_win %>-<%= @seed7.season_loss %> <%= School.find(@seed7.school_id).name %> |
+ V7 |
+ BYE |
+ V5 |
+
+
+
+Pool 3
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 9. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %> <%= School.find(@seed3.school_id).name %> |
+ BYE |
+ V11 |
+ V12 |
+
+
+ | 10. BYE |
+ V9 |
+ V12 |
+ V11 |
+
+
+ | 11. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %> |
+ V12 |
+ V9 |
+ BYE |
+
+
+ | 12. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %> <%= School.find(@seed6.school_id).name %> |
+ V11 |
+ BYE |
+ V9 |
+
+
+
+
+
+Pool 4
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 13. <%= @seed4.name %> <%= @seed4.season_win %>-<%= @seed4.season_loss %> <%= School.find(@seed4.school_id).name %> |
+ BYE |
+ V15 |
+ V16 |
+
+
+ | 14. BYE |
+ V13 |
+ V16 |
+ V15 |
+
+
+ | 15. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %> |
+ V16 |
+ V13 |
+ BYE |
+
+
+ | 16. <%= @seed5.name %> <%= @seed5.season_win %>-<%= @seed5.season_loss %> <%= School.find(@seed5.school_id).name %> |
+ V15 |
+ BYE |
+ V13 |
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/static_pages/_man13.html.erb b/app/views/static_pages/_man13.html.erb
new file mode 100644
index 0000000..df7e666
--- /dev/null
+++ b/app/views/static_pages/_man13.html.erb
@@ -0,0 +1,155 @@
+
+Pool 1
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 1. <%= @seed1.name %> <%= @seed1.season_win %>-<%= @seed1.season_loss %> <%= School.find(@seed1.school_id).name %> |
+ V2 |
+ V3 |
+ V4 |
+
+
+ | 2. <%= @seed13.name %> <%= @seed13.season_win %>-<%= @seed13.season_loss %> <%= School.find(@seed13.school_id).name %> |
+ V1 |
+ V4 |
+ V3 |
+
+
+ | 3. <%= @seed12.name %> <%= @seed12.season_win %>-<%= @seed12.season_loss %> <%= School.find(@seed12.school_id).name %> |
+ V4 |
+ V1 |
+ V2 |
+
+
+ | 4. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %> <%= School.find(@seed8.school_id).name %> |
+ V3 |
+ V2 |
+ V1 |
+
+
+
+
+
+Pool 2
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 5. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> <%= School.find(@seed2.school_id).name %> |
+ BYE |
+ V7 |
+ V8 |
+
+
+ | 6. BYE |
+ V6 |
+ V8 |
+ V7 |
+
+
+ | 7. <%= @seed11.name %> <%= @seed11.season_win %>-<%= @seed11.season_loss %> <%= School.find(@seed11.school_id).name %> |
+ V8 |
+ V5 |
+ BYE |
+
+
+ | 8. <%= @seed7.name %> <%= @seed7.season_win %>-<%= @seed7.season_loss %> <%= School.find(@seed7.school_id).name %> |
+ V7 |
+ BYE |
+ V5 |
+
+
+
+Pool 3
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 9. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %> <%= School.find(@seed3.school_id).name %> |
+ BYE |
+ V11 |
+ V12 |
+
+
+ | 10. BYE |
+ V9 |
+ V12 |
+ V11 |
+
+
+ | 11. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %> |
+ V12 |
+ V9 |
+ BYE |
+
+
+ | 12. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %> <%= School.find(@seed6.school_id).name %> |
+ V11 |
+ BYE |
+ V9 |
+
+
+
+
+
+Pool 4
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 13. <%= @seed4.name %> <%= @seed4.season_win %>-<%= @seed4.season_loss %> <%= School.find(@seed4.school_id).name %> |
+ BYE |
+ V15 |
+ V16 |
+
+
+ | 14. BYE |
+ V13 |
+ V16 |
+ V15 |
+
+
+ | 15. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %> |
+ V16 |
+ V13 |
+ BYE |
+
+
+ | 16. <%= @seed5.name %> <%= @seed5.season_win %>-<%= @seed5.season_loss %> <%= School.find(@seed5.school_id).name %> |
+ V15 |
+ BYE |
+ V13 |
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/static_pages/_man14.html.erb b/app/views/static_pages/_man14.html.erb
new file mode 100644
index 0000000..afa5801
--- /dev/null
+++ b/app/views/static_pages/_man14.html.erb
@@ -0,0 +1,155 @@
+
+Pool 1
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 1. <%= @seed1.name %> <%= @seed1.season_win %>-<%= @seed1.season_loss %> <%= School.find(@seed1.school_id).name %> |
+ V2 |
+ V3 |
+ V4 |
+
+
+ | 2. <%= @seed14.name %> <%= @seed14.season_win %>-<%= @seed14.season_loss %> <%= School.find(@seed14.school_id).name %> |
+ V1 |
+ V4 |
+ V3 |
+
+
+ | 3. <%= @seed12.name %> <%= @seed12.season_win %>-<%= @seed12.season_loss %> <%= School.find(@seed12.school_id).name %> |
+ V4 |
+ V1 |
+ V2 |
+
+
+ | 4. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %> <%= School.find(@seed8.school_id).name %> |
+ V3 |
+ V2 |
+ V1 |
+
+
+
+
+
+Pool 2
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 5. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> <%= School.find(@seed2.school_id).name %> |
+ V6 |
+ V7 |
+ V8 |
+
+
+ | 6. <%= @seed13.name %> <%= @seed13.season_win %>-<%= @seed13.season_loss %> <%= School.find(@seed13.school_id).name %> |
+ V5 |
+ V8 |
+ V7 |
+
+
+ | 7. <%= @seed11.name %> <%= @seed11.season_win %>-<%= @seed11.season_loss %> <%= School.find(@seed11.school_id).name %> |
+ V8 |
+ V5 |
+ V6 |
+
+
+ | 8. <%= @seed7.name %> <%= @seed7.season_win %>-<%= @seed7.season_loss %> <%= School.find(@seed7.school_id).name %> |
+ V7 |
+ V6 |
+ V5 |
+
+
+
+Pool 3
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 9. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %> <%= School.find(@seed3.school_id).name %> |
+ BYE |
+ V11 |
+ V12 |
+
+
+ | 10. BYE |
+ V9 |
+ V12 |
+ V11 |
+
+
+ | 11. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %> |
+ V12 |
+ V9 |
+ BYE |
+
+
+ | 12. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %> <%= School.find(@seed6.school_id).name %> |
+ V11 |
+ BYE |
+ V9 |
+
+
+
+
+
+Pool 4
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 13. <%= @seed4.name %> <%= @seed4.season_win %>-<%= @seed4.season_loss %> <%= School.find(@seed4.school_id).name %> |
+ BYE |
+ V15 |
+ V16 |
+
+
+ | 14. BYE |
+ V13 |
+ V16 |
+ V15 |
+
+
+ | 15. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %> |
+ V16 |
+ V13 |
+ BYE |
+
+
+ | 16. <%= @seed5.name %> <%= @seed5.season_win %>-<%= @seed5.season_loss %> <%= School.find(@seed5.school_id).name %> |
+ V15 |
+ BYE |
+ V13 |
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/static_pages/_man15.html.erb b/app/views/static_pages/_man15.html.erb
new file mode 100644
index 0000000..04e3e94
--- /dev/null
+++ b/app/views/static_pages/_man15.html.erb
@@ -0,0 +1,155 @@
+
+Pool 1
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 1. <%= @seed1.name %> <%= @seed1.season_win %>-<%= @seed1.season_loss %> <%= School.find(@seed1.school_id).name %> |
+ V2 |
+ V3 |
+ V4 |
+
+
+ | 2. <%= @seed15.name %> <%= @seed15.season_win %>-<%= @seed15.season_loss %> <%= School.find(@seed15.school_id).name %> |
+ V1 |
+ V4 |
+ V3 |
+
+
+ | 3. <%= @seed12.name %> <%= @seed12.season_win %>-<%= @seed12.season_loss %> <%= School.find(@seed12.school_id).name %> |
+ V4 |
+ V1 |
+ V2 |
+
+
+ | 4. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %> <%= School.find(@seed8.school_id).name %> |
+ V3 |
+ V2 |
+ V1 |
+
+
+
+
+
+Pool 2
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 5. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> <%= School.find(@seed2.school_id).name %> |
+ V6 |
+ V7 |
+ V8 |
+
+
+ | 6. <%= @seed14.name %> <%= @seed14.season_win %>-<%= @seed14.season_loss %> <%= School.find(@seed14.school_id).name %> |
+ V5 |
+ V8 |
+ V7 |
+
+
+ | 7. <%= @seed11.name %> <%= @seed11.season_win %>-<%= @seed11.season_loss %> <%= School.find(@seed11.school_id).name %> |
+ V8 |
+ V5 |
+ V6 |
+
+
+ | 8. <%= @seed7.name %> <%= @seed7.season_win %>-<%= @seed7.season_loss %> <%= School.find(@seed7.school_id).name %> |
+ V7 |
+ V6 |
+ V5 |
+
+
+
+Pool 3
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 9. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %> <%= School.find(@seed3.school_id).name %> |
+ V10 |
+ V11 |
+ V12 |
+
+
+ | 10. <%= @seed13.name %> <%= @seed13.season_win %>-<%= @seed13.season_loss %> <%= School.find(@seed13.school_id).name %> |
+ V9 |
+ V12 |
+ V11 |
+
+
+ | 11. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %> |
+ V12 |
+ V9 |
+ V10 |
+
+
+ | 12. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %> <%= School.find(@seed6.school_id).name %> |
+ V11 |
+ V10 |
+ V9 |
+
+
+
+
+
+Pool 4
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 13. <%= @seed4.name %> <%= @seed4.season_win %>-<%= @seed4.season_loss %> <%= School.find(@seed4.school_id).name %> |
+ BYE |
+ V15 |
+ V16 |
+
+
+ | 14. BYE |
+ V13 |
+ V16 |
+ V15 |
+
+
+ | 15. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %> |
+ V16 |
+ V13 |
+ BYE |
+
+
+ | 16. <%= @seed5.name %> <%= @seed5.season_win %>-<%= @seed5.season_loss %> <%= School.find(@seed5.school_id).name %> |
+ V15 |
+ BYE |
+ V13 |
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/static_pages/_man16.html.erb b/app/views/static_pages/_man16.html.erb
new file mode 100644
index 0000000..21b6f57
--- /dev/null
+++ b/app/views/static_pages/_man16.html.erb
@@ -0,0 +1,155 @@
+
+Pool 1
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 1. <%= @seed1.name %> <%= @seed1.season_win %>-<%= @seed1.season_loss %> <%= School.find(@seed1.school_id).name %> |
+ V2 |
+ V3 |
+ V4 |
+
+
+ | 2. <%= @seed16.name %> <%= @seed16.season_win %>-<%= @seed16.season_loss %> <%= School.find(@seed16.school_id).name %> |
+ V1 |
+ V4 |
+ V3 |
+
+
+ | 3. <%= @seed12.name %> <%= @seed12.season_win %>-<%= @seed12.season_loss %> <%= School.find(@seed12.school_id).name %> |
+ V4 |
+ V1 |
+ V2 |
+
+
+ | 4. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %> <%= School.find(@seed8.school_id).name %> |
+ V3 |
+ V2 |
+ V1 |
+
+
+
+
+
+Pool 2
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 5. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> <%= School.find(@seed2.school_id).name %> |
+ V6 |
+ V7 |
+ V8 |
+
+
+ | 6. <%= @seed15.name %> <%= @seed15.season_win %>-<%= @seed15.season_loss %> <%= School.find(@seed15.school_id).name %> |
+ V5 |
+ V8 |
+ V7 |
+
+
+ | 7. <%= @seed11.name %> <%= @seed11.season_win %>-<%= @seed11.season_loss %> <%= School.find(@seed11.school_id).name %> |
+ V8 |
+ V5 |
+ V6 |
+
+
+ | 8. <%= @seed7.name %> <%= @seed7.season_win %>-<%= @seed7.season_loss %> <%= School.find(@seed7.school_id).name %> |
+ V7 |
+ V6 |
+ V5 |
+
+
+
+Pool 3
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 9. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %> <%= School.find(@seed3.school_id).name %> |
+ V10 |
+ V11 |
+ V12 |
+
+
+ | 10. <%= @seed14.name %> <%= @seed14.season_win %>-<%= @seed14.season_loss %> <%= School.find(@seed14.school_id).name %> |
+ V9 |
+ V12 |
+ V11 |
+
+
+ | 11. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %> |
+ V12 |
+ V9 |
+ V10 |
+
+
+ | 12. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %> <%= School.find(@seed6.school_id).name %> |
+ V11 |
+ V10 |
+ V9 |
+
+
+
+
+
+Pool 4
+
+
+
+ | Name |
+ R1 |
+ R2 |
+ R3 |
+
+
+
+
+ | 13. <%= @seed4.name %> <%= @seed4.season_win %>-<%= @seed4.season_loss %> <%= School.find(@seed4.school_id).name %> |
+ V14 |
+ V15 |
+ V16 |
+
+
+ | 14. <%= @seed13.name %> <%= @seed13.season_win %>-<%= @seed13.season_loss %> <%= School.find(@seed13.school_id).name %> |
+ V13 |
+ V16 |
+ V15 |
+
+
+ | 15. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %> |
+ V16 |
+ V13 |
+ V14 |
+
+
+ | 16. <%= @seed5.name %> <%= @seed5.season_win %>-<%= @seed5.season_loss %> <%= School.find(@seed5.school_id).name %> |
+ V15 |
+ V14 |
+ V13 |
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/static_pages/brackets.html.erb b/app/views/static_pages/brackets.html.erb
index 5c92d81..a5498c2 100644
--- a/app/views/static_pages/brackets.html.erb
+++ b/app/views/static_pages/brackets.html.erb
@@ -20,4 +20,14 @@
<%= render 'man3' %>
<% elsif @bracket_size == 2 %>
<%= render 'man2' %>
+<% elsif @bracket_size == 16 %>
+ <%= render 'man16' %>
+<% elsif @bracket_size == 15 %>
+ <%= render 'man15' %>
+<% elsif @bracket_size == 14 %>
+ <%= render 'man14' %>
+<% elsif @bracket_size == 13 %>
+ <%= render 'man13' %>
+<% elsif @bracket_size == 12 %>
+ <%= render 'man12' %>
<% end %>
\ No newline at end of file