summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-07 17:29:20 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-07 17:29:20 -0500
commit7e7a0a4a0465142612acd1e0d050cb1b91f93d90 (patch)
tree164c4ca2e0b54e9b6665cb981f7e46a2ac159999 /app/views
parent7243bc441795b70249d99bd43a4a0a88c042f91f (diff)
parent5f7189c2fe6f39b2056d5f3a6d91e557306697da (diff)
no conflicts:
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views')
-rw-r--r--app/views/matches/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb
index 3a7e7a6..b6930ea 100644
--- a/app/views/matches/show.html.erb
+++ b/app/views/matches/show.html.erb
@@ -12,7 +12,7 @@
<%= form_for([@tournament, @match], method: "put") do |f| %>
<ul>
<% @match.teams.each do |team| %>
- <li><label><%= f.radio_button(:winner_id, team.id) %>
+ <li><label><%= f.radio_button(:winner, team.id) %>
<%= team.users.collect{|u| u.user_name}.join(", ") %></label></li>
<% end %>
</ul>