summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
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>