<%= form_for @contact do |f| %> <% if @contact.errors.any? %>

<%= pluralize(@contact.errors.count, "error") %> prohibited this contact from being saved:

<% end %>
<%= f.label :first_name %>
<%= f.text_field :first_name %>
<%= f.label :last_name %>
<%= f.text_field :last_name %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :comment %>
<%= f.text_area :comment %>
<%= f.submit %>
<% end %>