1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 12:15:25 +00:00

Before I made correctly

This commit is contained in:
2014-12-09 10:14:01 -05:00
parent 1d024e0571
commit f7e06feb99
9 changed files with 130 additions and 42 deletions

View File

@@ -52,7 +52,7 @@
<tr>
<td>5. <%= @seed2.name %> <%= @seed2.season_win %>-<%= @seed2.season_loss %> <%= School.find(@seed2.school_id).name %></td>
<td>BYE</td>
<td>BYE</td>
<td>V7</td>
<td>V8</td>
</tr>
<tr>
@@ -62,14 +62,14 @@
<td>V7</td>
</tr>
<tr>
<td>7. BYE</td>
<td>7. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %></td>
<td>V8</td>
<td>V5</td>
<td>BYE</td>
</tr>
<tr>
<td>8. <%= @seed7.name %> <%= @seed7.season_win %>-<%= @seed7.season_loss %> <%= School.find(@seed7.school_id).name %></td>
<td>BYE</td>
<td>V7</td>
<td>BYE</td>
<td>V5</td>
</tr>
@@ -99,7 +99,7 @@
<td>V11</td>
</tr>
<tr>
<td>11. <%= @seed10.name %> <%= @seed10.season_win %>-<%= @seed10.season_loss %> <%= School.find(@seed10.school_id).name %></td>
<td>11. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %></td>
<td>V12</td>
<td>V9</td>
<td>BYE</td>
@@ -128,24 +128,24 @@
<tr>
<td>13. <%= @seed4.name %> <%= @seed4.season_win %>-<%= @seed4.season_loss %> <%= School.find(@seed4.school_id).name %></td>
<td>BYE</td>
<td>V15</td>
<td>BYE</td>
<td>V16</td>
</tr>
<tr>
<td>14. BYE</td>
<td>V13</td>
<td>V16</td>
<td>V15</td>
<td>BYE</td>
</tr>
<tr>
<td>15. <%= @seed9.name %> <%= @seed9.season_win %>-<%= @seed9.season_loss %> <%= School.find(@seed9.school_id).name %></td>
<td>15. BYE</td>
<td>V16</td>
<td>V13</td>
<td>BYE</td>
</tr>
<tr>
<td>16. <%= @seed5.name %> <%= @seed5.season_win %>-<%= @seed5.season_loss %> <%= School.find(@seed5.school_id).name %></td>
<td>V15</td>
<td>BYE</td>
<td>BYE</td>
<td>V13</td>
</tr>

View File

@@ -75,6 +75,8 @@
</tr>
</tbody>
</table>
<br>
<br>
<h3>Pool 3</h3>
<table class="table table-striped table-bordered">
<thead>

View File

@@ -1,17 +0,0 @@
<h1>School Scores</h1>
<table class="table table-striped table-bordered">
<thead>
<tr>
<td>Name</td>
<td>Score</td>
</tr>
</thead>
<tbody>
<% @school.each do |school| %>
<tr>
<td><%= school.name %></td>
<td><%= school.score %></td>
</tr>
<% end %>
</tbody>
</table>

View File

@@ -28,7 +28,7 @@
<% if user_signed_in? %>
<%= link_to "New #{@tournament.name} School" , "/schools/new?tournament=#{@tournament.id}" %>
<br>
BE CAREFUL <%= link_to "Generate Matches" , "/static_pages/generate_matches?tournament=#{@tournament.id}" %>
BE CAREFUL <%= link_to "Generate Pool Matches" , "/static_pages/generate_matches?tournament=#{@tournament.id}" %>
<% end %>
<br>
<br>