Edit Employment

<%= form_with(model: @employment, url: employment_path(@employment), method: :patch) do |form| %>
<%= form.label :start_date %> <%= form.date_field :start_date %>
<%= form.label :end_date %> <%= form.date_field :end_date %>
<%= form.submit "Update Employment" %> <% end %> <%= link_to 'Delete Employment', employment_path(@employment), method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' %> <%= link_to 'Back to Participant', participant_path(@employment.participant), class: 'btn btn-secondary' %>