1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/app/views/matches/show.html.erb

28 lines
814 B
Plaintext

<h4>Bout: <%= @match.bout_number %></h4>
<h4>Weight Class: <%= @match.wrestler1.weight.max %></h4>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th></th>
<th><%= @match.wrestler1.name %> (<%= @match.wrestler1.school.name %>)</th>
<th><%= @match.wrestler2.name %> (<%= @match.wrestler2.school.name %>)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Stats</td>
<td><%= @match.w1_stat %></td>
<td><%= @match.w2_stat %></td>
</tr>
<td>Winner</td>
<td><%= @match.winner_name %></td>
<td></td>
</tr>
<tr>
<td>Score</td>
<td><%= @match.score %></td>
<td></td>
</tr>
</tbody>
</table>