mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 17:31:27 +00:00
32 lines
910 B
Text
32 lines
910 B
Text
<div class="contester">
|
|
<h1>Editing: <%= h @contester.team.name %></h1>
|
|
<h3 class="title"><%= h @contester.contest.name %></h3>
|
|
|
|
<%= form_for @contester, html: { class: 'square' } do |f| %>
|
|
<%= render 'shared/errors', messages: @contester.errors.full_messages %>
|
|
|
|
<div class="fields horizontal">
|
|
<%= f.label :extra, "Extra Points" %>
|
|
<%= f.text_field :extra %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :score %>
|
|
<%= f.text_field :score %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :win %>
|
|
<%= f.text_field :win %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :loss %>
|
|
<%= f.text_field :loss %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :draw %>
|
|
<%= f.text_field :draw %>
|
|
</div>
|
|
<div class="controls">
|
|
<%= f.submit 'Update' %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|