mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-24 17:04:43 +00:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
<div id="up_matches_board">
|
|
<h3>Upcoming Matches</h3>
|
|
<table class="table table-striped table-bordered table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Mat </th>
|
|
<th>On Mat</th>
|
|
<th>On Deck</th>
|
|
<th>In The Hole</th>
|
|
<th>Warm Up</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% (local_assigns[:mats] || tournament.up_matches_mats).each do |m| %>
|
|
<%= render "tournaments/up_matches_mat_row", mat: m %>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<h3>Matches not assigned</h3>
|
|
<br>
|
|
<table class="table table-striped table-bordered table-condensed" id="matchList">
|
|
<thead>
|
|
<tr>
|
|
<th>Round</th>
|
|
<th>Bout Number</th>
|
|
<th>Weight Class</th>
|
|
<th>Matchup</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% (local_assigns[:matches] || tournament.up_matches_unassigned_matches).each do |m| %>
|
|
<tr>
|
|
<td>Round <%= m.round %></td>
|
|
<td><%= m.bout_number %></td>
|
|
<td><%= m.weight_max %></td>
|
|
<td><%= m.w1_bracket_name %> vs. <%= m.w2_bracket_name %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
</div>
|