mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-16 13:03:37 +00:00
Finished pools for 10man bracket
This commit is contained in:
@@ -14,6 +14,11 @@ class StaticPagesController < ApplicationController
|
|||||||
@seed7 = Wrestler.where(weight_id: @weight.id, original_seed: 7).first
|
@seed7 = Wrestler.where(weight_id: @weight.id, original_seed: 7).first
|
||||||
@seed5 = Wrestler.where(weight_id: @weight.id, original_seed: 5).first
|
@seed5 = Wrestler.where(weight_id: @weight.id, original_seed: 5).first
|
||||||
@seed4 = Wrestler.where(weight_id: @weight.id, original_seed: 4).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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
<th>R2</th>
|
<th>R2</th>
|
||||||
<th>R3</th>
|
<th>R3</th>
|
||||||
<th>R4</th>
|
<th>R4</th>
|
||||||
|
<th>R5</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -53,3 +54,60 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<h3>Pool 2</h3>
|
||||||
|
<table class="table table-striped table-bordered">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>R1</th>
|
||||||
|
<th>R2</th>
|
||||||
|
<th>R3</th>
|
||||||
|
<th>R4</th>
|
||||||
|
<th>R5</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>6. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %></td>
|
||||||
|
<td>V7</td>
|
||||||
|
<td>V8</td>
|
||||||
|
<td>V10</td>
|
||||||
|
<td>V9/<td>
|
||||||
|
<td>BYE</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>7. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %></td>
|
||||||
|
<td>V6</td>
|
||||||
|
<td>V10</td>
|
||||||
|
<td>V9</td>
|
||||||
|
<td>BYE</td>
|
||||||
|
<td>V8</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>8. <%= @seed6.name %> <%= @seed6.season_win %>-<%= @seed6.season_loss %></td>
|
||||||
|
<td>V9</td>
|
||||||
|
<td>V6</td>
|
||||||
|
<td>BYE</td>
|
||||||
|
<td>V10</td>
|
||||||
|
<td>V7</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>9. <%= @seed8.name %> <%= @seed8.season_win %>-<%= @seed8.season_loss %></td>
|
||||||
|
<td>V8</td>
|
||||||
|
<td>BYE</td>
|
||||||
|
<td>V7</td>
|
||||||
|
<td>V6</td>
|
||||||
|
<td>V10</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>10. <%= @seed3.name %> <%= @seed3.season_win %>-<%= @seed3.season_loss %></td>
|
||||||
|
<td>BYE</td>
|
||||||
|
<td>V7</td>
|
||||||
|
<td>V6</td>
|
||||||
|
<td>V8</td>
|
||||||
|
<td>V9</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
Reference in New Issue
Block a user