summaryrefslogtreecommitdiff
path: root/app/views/tournaments/new.html.erb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-23 20:38:19 -0400
committertkimia <tkimia@purdue.edu>2014-04-23 20:38:19 -0400
commit7ff82b901705475f97e277a9f3f31756bd3ce948 (patch)
tree9353d3b18477598eb9a7403541595dc0a750ec9a /app/views/tournaments/new.html.erb
parent190bfeb784f9760326c54069d2dbf875a820c6ec (diff)
parenta729106e956e051818bb2d37f1581f3bf3abcefd (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/tournaments/new.html.erb')
-rw-r--r--app/views/tournaments/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb
index c2b9904..2837708 100644
--- a/app/views/tournaments/new.html.erb
+++ b/app/views/tournaments/new.html.erb
@@ -1,7 +1,7 @@
<h1>New Tournament</h1>
<%= form_tag(new_tournament_path, method: "get") do %>
- <%= select_tag('game',
+ <%= select_tag('tournament[game_id]',
options_from_collection_for_select(@games, 'id', 'name', @tournament.game.nil? || @tournament.game.id),
:prompt => "Select a Game Type") %>
<%= submit_tag("Select", :class => "btn") %>