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 @@
| Name | +R1 | +R2 | +R3 | +R4 | +R5 | +|
|---|---|---|---|---|---|---|
| 6. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> | +V7 | +V8 | +V10 | +V9/ | + | BYE | +
| 7. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> | +V6 | +V10 | +V9 | +BYE | +V8 | +|
| 8. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %> | +V9 | +V6 | +BYE | +V10 | +V7 | +|
| 9. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %> | +V8 | +BYE | +V7 | +V6 | +V10 | +|
| 10. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %> | +BYE | +V7 | +V6 | +V8 | +V9 | +