<%= form_for(@estimate) do |f| %> <% if @estimate.errors.any? %>

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

<% end %>
<%= f.label :string %>
<%= f.text_field :string %>
<%= f.label :date %>
<%= f.date_select :date %>
<%= f.label :string %>
<%= f.text_field :string %>
<%= f.submit %>
<% end %>