%= form_for(@tournament) do |f| %>
<% if @tournament.errors.any? %>
<%= pluralize(@tournament.errors.count, "error") %> prohibited this tournament from being saved:
<% @tournament.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :game_id %>
<%= f.text_field :game_id %>
<%= f.submit %>
<% end %>