Name | Address | Phone | DOB | SSN | Gender | Actions | |
---|---|---|---|---|---|---|---|
<%= worker.name %> | <%= worker.address %> | <%= worker.phone %> | <%= worker.email %> | <%= worker.dob %> | <%= worker.ssn %> | <%= worker.gender %> | <%= link_to 'Show', worker_path(worker), class: 'btn btn-sm btn-info' %> | <%= link_to 'Edit', edit_worker_path(worker), class: 'btn btn-sm btn-primary' %> | <%= link_to 'Destroy', worker_path(worker), method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-sm btn-danger' %> |