Edit Employer Record

<%= form_with(model: @employer_record, class: 'form') do |form| %> <% if @employer_record.errors.any? %>

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

<% end %>
<%= form.label :participant_id %> <%= form.number_field :participant_id, class: 'form-control' %>
<%= form.label :employer_id %> <%= form.number_field :employer_id, class: 'form-control' %>
<%= form.label :start_date %> <%= form.date_field :start_date, class: 'form-control' %>
<%= form.label :end_date %> <%= form.date_field :end_date, class: 'form-control' %>
<%= form.submit 'Save Changes', class: 'btn btn-primary' %> <%= link_to 'Delete Record', employer_record_path(@employer_record), method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' %>
<% end %>