%= form_for(@tournament) do |f| %>
<% if @tournament.errors.any? %>
<%= pluralize(@tournament.errors.count, "error") %> prohibited this tournament from being saved:
<% @tournament.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.submit %>
<% end %>