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

22 lines
529 B
Plaintext

<% cache ["#{@tournament.id}_team_scores", @tournament] do %>
<table class="pagebreak table table-striped table-bordered">
<h3>Team Scores</h3>
<thead>
<tr>
<th>Name</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<% @schools.each do |school| %>
<tr>
<td><%= @schools.index(school) + 1 %>. <%= school.name %> (<%= school.abbreviation %>)</td>
<td><%= school.page_score_string %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>