%= form_for(@game) do |f| %>
<% if @game.errors.any? %>
<%= pluralize(@game.errors.count, "error") %> prohibited this game from being saved:
<% @game.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :parent_id %>
<%= f.text_field :parent_id %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :min_players_per_team %>
<%= f.number_field :min_players_per_team %>
<%= f.label :max_players_per_team %>
<%= f.number_field :max_players_per_team %>
<%= f.label :min_teams_per_match %>
<%= f.number_field :min_teams_per_match %>
<%= f.label :max_teams_per_match %>
<%= f.number_field :max_teams_per_match %>
<%= f.label :sampling_method %>
<%= f.text_field :sampling_method %>
<%= f.label :scoring_method %>
<%= f.text_field :scoring_method %>
<%= f.submit %>
<% end %>