<% if form && form.object.errors.any? %>

Some of the information you entered was not recognised, please correct the problems below and re-submit:

<% end %>