app/views/items/_errors.html.erb
<% if item.errors.any? %>
<div class="block errors" id="errorExplanation">
<h2><%= pluralize(item.errors.count, "error") %> prohibited
this item from being saved:</h2>
<ul>
<% item.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>