summaryrefslogtreecommitdiff
path: root/app/views/matches/show.html.erb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-07 17:28:57 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-07 17:28:57 -0500
commit5f7189c2fe6f39b2056d5f3a6d91e557306697da (patch)
tree6736d10e1037fdf99a510abda110c101b92e32d2 /app/views/matches/show.html.erb
parentd9a19d269bb773d676cf049dbf58d675c3fa0db9 (diff)
I think I fixed the issue with permissions.
Diffstat (limited to 'app/views/matches/show.html.erb')
-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>