%= form_for([@tournament, @tournament.matches.build]) do |f| %>
<%= f.label :status %>
<%= f.number_field :status %>
<%= f.label :tournament_id %>
<%= f.text_field :tournament_id %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.submit %>
<% end %>