Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: be6e4d9e8c
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (33 sloc) 0.982 kb
<%= form_for(@round, :url => setup_bonus_rounds_path()) do |f| %>
<% if @round.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@round.errors.count, "error") %> prohibited this round from being saved:</h2>
<% @round.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
<% end %>
<td><!-- todo: add pool/event field w/ select box -->
<!-- todo/fix: why does it now work?? -->
<%#= @round.pool.full_title %>
<td><%= f.label :pos, 'Pos#:' %></td>
<td><%= f.text_field :pos, size: '3' %></td>
<td><%= f.label :title, 'Title:' %></td>
<td><%= f.text_field :title %></td>
<div class="actions">
<%= f.submit 'Save', :class => 'btn-primary' %>
<%= link_to 'Back', setup_bonus_rounds_path(), :class => 'btn' %>
<% end %>
Jump to Line
Something went wrong with that request. Please try again.