<% if object && object.errors.any? %>
<%= pluralize(object.errors.count, "error") %> prohibited this record from being saved:
<% end %>