<%= form_for(@bracket) do |f| %>
<% @bracket.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<%= f.label :slots %>
<%= f.text_field :slots %>
<%= render :partial => "bracket", :locals => {:bracket => @bracket} %>
<%= f.submit 'Update' %>
<% end %>
<%= link_to 'Back', edit_contest_path(@bracket.contest) %>