%= form_with(model: @customer, local: true) do |form| %>
<% if @customer.errors.any? %>
<%= pluralize(@customer.errors.count, "error") %> prohibited this customer from being saved:
<% @customer.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
Who is your Employer?
<%= form.label :employer_name %>
<%= form.text_field :employer_name %>
<%= form.label :employment_type %>
<%= form.select :employment_type, ["Permanent","Contract","Attachee"] %>
<%= form.label :employer_address, "Address of Employer" %>
<%= form.text_field :employer_address %>
<%= form.label :employer_phone %>
<%= form.text_field :employer_phone %>
<%= form.submit %>
<% end %>