First Name | Last Name | Address | Phone | DOB | Actions | |
---|---|---|---|---|---|---|
<%= worker.first_name %> | <%= worker.last_name %> | <%= [worker.address_line_1, worker.address_line_2, worker.city, worker.state, worker.zip].compact.join(', ') %> | <%= worker.phone %> | <%= worker.email %> | <%= worker.dob.strftime('%B %d, %Y') if worker.dob %> | <%= link_to worker_path(worker), class: 'btn btn-sm btn-secondary' do %> <% end %> <%= link_to edit_worker_path(worker), class: 'btn btn-sm btn-info' do %> <% end %> |