Worker Details

Name: <%= @worker.first_name %> <%= @worker.last_name %>

Address: <%= [@worker.address_line_1, @worker.address_line_2, @worker.city, @worker.state, @worker.zip].reject(&:blank?).join(', ') %>

Phone: <%= @worker.phone %>

Email: <%= @worker.email %>

DOB: <%= @worker.dob %>

SSN: <%= @worker.ssn %>

Gender: <%= @worker.gender %>

<%= link_to 'Edit', edit_worker_path(@worker), class: "btn btn-dark" %> <%= link_to 'Back to List', workers_path, class: "btn btn-secondary" %>