summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_form.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-28 00:25:21 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-28 00:25:21 -0400
commitfcc89e5f2621f1fb0593c1fef4a6d15b9cf4fc70 (patch)
treeee0f404868fd10d1f5a94c54f3b4a83286c6b813 /app/views/tournaments/_form.html.erb
parentd43213dfcf1f1d73d76ae2d2aa59cee3597c06da (diff)
parente5f603c8c463e09fee5931d7e00e94e14b819347 (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 %>