mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-22 22:37:01 +00:00
Create bracket views with upcomingMatches
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
<% @poolOneWrestlers.sort_by{|x|[x.original_seed]}.each do |w| %>
|
||||
<tr>
|
||||
<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
|
||||
<td><%= w.boutByRound(1) %><br></td>
|
||||
<td><%= w.boutByRound(2) %></td>
|
||||
<td><%= w.boutByRound(3) %></td>
|
||||
<td><%= w.boutByRound(4) %></td>
|
||||
<td><%= w.boutByRound(1,@matches) %><br></td>
|
||||
<td><%= w.boutByRound(2,@matches) %></td>
|
||||
<td><%= w.boutByRound(3,@matches) %></td>
|
||||
<td><%= w.boutByRound(4,@matches) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
@@ -37,10 +37,10 @@
|
||||
<% @poolTwoWrestlers.sort_by{|x|[x.original_seed]}.each do |w| %>
|
||||
<tr>
|
||||
<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
|
||||
<td><%= w.boutByRound(1) %><br></td>
|
||||
<td><%= w.boutByRound(2) %></td>
|
||||
<td><%= w.boutByRound(3) %></td>
|
||||
<td><%= w.boutByRound(4) %></td>
|
||||
<td><%= w.boutByRound(1,@matches) %><br></td>
|
||||
<td><%= w.boutByRound(2,@matches) %></td>
|
||||
<td><%= w.boutByRound(3,@matches) %></td>
|
||||
<td><%= w.boutByRound(4,@matches) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user