1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 22:44:14 +00:00

Working on Pool class

This commit is contained in:
2015-01-26 13:40:25 -05:00
parent e9ff75a0a2
commit ae4b2718b5
5 changed files with 50 additions and 17 deletions

View File

@@ -2,7 +2,7 @@
<br>
<br>
<h3>Upcoming Matches</h3>
<% @bouts.each do |m| %>
<%= Wrestler.find(m.w1).weight.max %> Lbs <%= Wrestler.find(m.w1).name %> vs. Some Guy
<% @matches.each do |m| %>
<%= Wrestler.find(m.r_id).weight.max %> Lbs <%= Wrestler.find(m.r_id).name %> vs. <%= Wrestler.find(m.g_id).weight.max %> Lbs <%= Wrestler.find(m.g_id).name %>
<br>
<% end %>