%= form_for phase, :html => { :class => "form-horizontal phase" } do |f| %>
<% if phase.errors.any? %>
<%= pluralize(phase.errors.count, "error") %> prohibited this phase from being saved:
<% phase.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<% end %>