1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 00:49:54 +00:00

Added team abbreviation

This commit is contained in:
2019-01-24 20:16:43 +00:00
parent 0599faa173
commit 6bbb0b2e2c
11 changed files with 94 additions and 59 deletions

View File

@@ -1,11 +1,11 @@
<h4>Bout: <%= @match.bout_number %></h4>
<h4>Weight Class: <%= @match.wrestler1.weight.max %></h4>
<h4>Weight Class: <%= @match.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>
<th><%= @match.w1_name %> <%= "- #{@match.wrestler1.school.name}" if @match.wrestler1 %></th>
<th><%= @match.w2_name %> <%= "- #{@match.wrestler2.school.name}" if @match.wrestler2 %></th>
</tr>
</thead>