summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_form.html.erb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-28 01:30:48 -0400
committertkimia <tkimia@purdue.edu>2014-04-28 01:30:48 -0400
commit85c74dac1f82dc1869a2875a9354be0b4b3361ac (patch)
tree4154815d3e5896ee6d68712f08a4dcac2b84872b /app/views/tournaments/_form.html.erb
parentb0b2a235f02b95058aa7bfbf817d5dd1d85b6730 (diff)
parent9a8d183f6896a92b84a15599323b32e73b5868b9 (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 %>