summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_form.html.erb
diff options
context:
space:
mode:
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 %>