mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added bracket position to all matches page
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Bout number</th>
|
<th>Bout number</th>
|
||||||
|
<th>Bracket Position</th>
|
||||||
<th>Matchup</th>
|
<th>Matchup</th>
|
||||||
<th>Finished?</th>
|
<th>Finished?</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
@@ -26,6 +27,7 @@
|
|||||||
<% @matches.each do |match| %>
|
<% @matches.each do |match| %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= match.bout_number %></td>
|
<td><%= match.bout_number %></td>
|
||||||
|
<td><%= match.bracket_position %></td>
|
||||||
<td><%= match.w1_name %> vs <%= match.w2_name %></td>
|
<td><%= match.w1_name %> vs <%= match.w2_name %></td>
|
||||||
<td><%= match.finished %></td>
|
<td><%= match.finished %></td>
|
||||||
<td><%= link_to 'Show', match, :class=>"btn btn-default btn-sm" %>
|
<td><%= link_to 'Show', match, :class=>"btn btn-default btn-sm" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user