diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-23 20:41:03 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-23 20:41:03 -0400 |
commit | 9afd5a4f7a86eeaab3fa8a0c25609ac7977e0489 (patch) | |
tree | 8d47adc08a58a8936e2026f30852f877ee47cf64 /app/views/tournaments/new.html.erb | |
parent | 422a7b39a06e2fe54415f2be08548021a981e8a8 (diff) | |
parent | 7ff82b901705475f97e277a9f3f31756bd3ce948 (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.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb index 8c74068..2837708 100644 --- a/app/views/tournaments/new.html.erb +++ b/app/views/tournaments/new.html.erb @@ -1,10 +1,10 @@ <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") %> + <%= submit_tag("Select", :class => "btn") %> <% end %> <div id='ajax-form'> |