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