mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-24 17:04:43 +00:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 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>
|
|
<%= render partial: "tournaments/up_matches_unassigned_row", collection: (local_assigns[:matches] || tournament.up_matches_unassigned_matches), as: :match %>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
</div>
|