diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index d027e16..83e11aa 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -14,6 +14,11 @@ class StaticPagesController < ApplicationController @seed7 = Wrestler.where(weight_id: @weight.id, original_seed: 7).first @seed5 = Wrestler.where(weight_id: @weight.id, original_seed: 5).first @seed4 = Wrestler.where(weight_id: @weight.id, original_seed: 4).first + @seed2 = Wrestler.where(weight_id: @weight.id, original_seed: 2).first + @seed9 = Wrestler.where(weight_id: @weight.id, original_seed: 9).first + @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 end diff --git a/app/views/static_pages/_man10.html.erb b/app/views/static_pages/_man10.html.erb index 9e24ec6..a77f675 100644 --- a/app/views/static_pages/_man10.html.erb +++ b/app/views/static_pages/_man10.html.erb @@ -8,6 +8,7 @@ R2 R3 R4 + R5 @@ -52,4 +53,61 @@ V4 + +
+
+

Pool 2

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameR1R2R3R4R5
6. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %>V7V8V10V9/ + BYE
7. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %>V6V10V9BYEV8
8. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %>V9V6BYEV10V7
9. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %>V8BYEV7V6V10
10. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %>BYEV7V6V8V9
\ No newline at end of file