summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_form.html.erb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-28 00:35:54 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-28 00:35:54 -0400
commitfa8ec3d1e21de1456af74d411117a1b9d5e0bbc0 (patch)
treedb39868fb318275947ea4e419295bdcf47978a8c /app/views/tournaments/_form.html.erb
parentfbd258986b41b96a9f901d6be03bcfa9111fe13d (diff)
parent0a5242c3a460d0b99be0adc4593774a58b68154a (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/tournaments/_form.html.erb')
-rw-r--r--app/views/tournaments/_form.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/tournaments/_form.html.erb b/app/views/tournaments/_form.html.erb
index 2a871ea..a5eba7a 100644
--- a/app/views/tournaments/_form.html.erb
+++ b/app/views/tournaments/_form.html.erb
@@ -17,6 +17,7 @@
</fieldset>
<% else %>
<%= form_for(@tournament, url: tournaments_path, method: "post") do |f| %>
+ <%= f.hidden_field(:game_id) %>
<p>
<%= f.label :name %>
<%= f.text_field :name %>