summaryrefslogtreecommitdiff
path: root/app/views/tournaments/new.html.erb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-04-23 20:22:11 -0400
committerDavisLWebb <davislwebb@ymail.com>2014-04-23 20:22:11 -0400
commit8423f93a586c4278ea25d3b10bb731e732be0ba9 (patch)
tree047dfbfadeaef781a3a9242e571e253467c9a849 /app/views/tournaments/new.html.erb
parentc5e0aeb5a055797fe4f26fb9e6f9e163d5d7f718 (diff)
parentae97abc3f47a7209ef8367a5781ca72ada90ddec (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 8c74068..66149fe 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 btn-success btn-xs") %>