Editing Bracket

<%= form_for(@bracket) do |f| %> <%= render 'shared/errors', messages: @bracket.errors.full_messages %>
<%= f.label :name %> <%= f.text_field :name %>
<%= f.label :slots %> <%= f.text_field :slots %>
<%= render partial: "bracket", locals: { bracket: @bracket, edit: true } %>
<%= f.submit 'Update' %>
<% end %>