%= form_for(@match) do |f| %>
<% if @match.errors.any? %>
<%= pluralize(@match.errors.count, "error") %> prohibited this match from being saved:
<% @match.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :status %>
<%= f.number_field :status %>
<%= f.label :tournament_id %>
<%= f.text_field :tournament_id %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :winner_id %>
<%= f.text_field :winner_id %>
<%= f.label :remote_id %>
<%= f.text_field :remote_id %>
<%= f.submit %>
<% end %>