<%= form_for @contact, :html => {:class => "validate", :novalidate => "novalidate"} do |f| %>

<%= f.label :name, "What's your name?" %>
<%= f.text_field :name, :size => 35, :required => true %>

<%= f.label :email, "and email address?" %>
<%= tag(:input, {:name => "contact[email]", :type => :email, :required => true, :size => 35}) %>

<%= f.label :message, "Your message." %>
<%= f.text_area :message, :rows => 10, :cols => 64, :required => true %>

<%= f.submit "Send Message" %>
<% end %>