%= form_for(@lead) do |f| %>
<% if @lead.errors.any? %>
<%= pluralize(@lead.errors.count, "error") %> prohibited this lead from being saved:
<% @lead.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :last_name %>
<%= f.text_field :last_name %>
<%= f.label :emial %>
<%= f.text_field :emial %>
<%= f.label :company %>
<%= f.text_field :company %>
<%= f.label :job_title %>
<%= f.text_field :job_title %>
<%= f.label :phone %>
<%= f.text_field :phone %>
<%= f.label :website %>
<%= f.text_field :website %>
<%= f.submit %>
<% end %>