diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-28 00:17:33 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-28 00:17:33 -0400 |
commit | ee238dbbca6ee979aa886a4f4cebad41e6f79cce (patch) | |
tree | 501b28ab9789c9f48b481e8f5afd4a4fa39b8545 /app/views/tournaments | |
parent | 7a3fe845d568f6eab1e7a55239daed3685797c2e (diff) |
30 minutes to add a single line
Diffstat (limited to 'app/views/tournaments')
-rw-r--r-- | app/views/tournaments/_form.html.erb | 1 |
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 %> |