mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
18 lines
429 B
Text
18 lines
429 B
Text
<h1 class="title">Editing Bracket</h1>
|
|
|
|
<div class="wide box">
|
|
<%= form_for(@bracket) do |f| %>
|
|
<%= render 'shared/errors', messages: @bracket.errors.full_messages %>
|
|
|
|
<div class="fields">
|
|
<%= f.label :slots %>
|
|
<%= f.text_field :slots %>
|
|
</div>
|
|
|
|
<%= render partial: "bracket", locals: { bracket: @bracket } %>
|
|
|
|
<div class="controls">
|
|
<%= f.submit 'Update' %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|