%= 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 :name %>
<%= f.text_area :name %>
<%= f.label :players_per_team %>
<%= f.number_field :players_per_team %>
<%= f.label :teams_per_match %>
<%= f.number_field :teams_per_match %>
<%= f.label :set_rounds %>
<%= f.number_field :set_rounds %>
<%= f.label :randomized_teams %>
<%= f.number_field :randomized_teams %>
<%= f.submit %>
<% end %>