1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-03 12:43:36 +00:00

Updating views

This commit is contained in:
2015-11-18 13:11:47 +00:00
parent 67727c6391
commit 0ba25da89a
5 changed files with 18 additions and 6 deletions

View File

@@ -29,7 +29,7 @@
<br>
<% @wrestler.allMatches.each do |m| %>
<div> Bout: <%= m.bout_number %> <%= m.bracket_position %> <%= m.wrestler1.name %> vs. <%= m.wrestler2.name %> <%= m.bracketScore %></div>
<div> Bout: <%= m.bout_number %> <%= m.bracket_position %> <%= m.wrestler1.name %> vs. <%= m.wrestler2.name %> <%= @wrestler.resultByBout(m.bout_number) %></div>
<% end %>
<% @wrestler.deductedPoints.each do |w| %>
<div> Deducted points: <%= w.points %></div>