Name: <%= @participant.first_name %> <%= @participant.last_name %>
Address: <%= @participant.address %>
Phone: <%= @participant.phone %>
Email: <%= @participant.email %>
MCI: <%= @participant.mci %>
DOB: <%= @participant.dob.strftime('%B %d, %Y') if @participant.dob.present? %>
SSN: <%= @participant.ssn %>
Gender: <%= @participant.gender %>
Worker Name | Start Date | End Date | Actions |
---|---|---|---|
<%= employment.worker&.name || 'No Worker Assigned' %> | <%= employment.start_date.strftime('%B %d, %Y') if employment.start_date.present? %> | <%= employment.end_date.strftime('%B %d, %Y') if employment.end_date.present? %> | <%= link_to 'Edit', edit_employment_path(employment), class: 'btn btn-sm btn-primary' %> <%= link_to 'Remove', employment, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-sm btn-danger' %> |