<% if object.errors.any? %>
The form contains <%= pluralize(object.errors.count, "error") %>.
<% end %>