34 lines
523 B
Plaintext
34 lines
523 B
Plaintext
<h1>Worker Details</h1>
|
|
|
|
<p>
|
|
<strong>Name:</strong>
|
|
<%= @worker.name %>
|
|
</p>
|
|
<p>
|
|
<strong>Address:</strong>
|
|
<%= @worker.address %>
|
|
</p>
|
|
<p>
|
|
<strong>Phone:</strong>
|
|
<%= @worker.phone %>
|
|
</p>
|
|
<p>
|
|
<strong>Email:</strong>
|
|
<%= @worker.email %>
|
|
</p>
|
|
<p>
|
|
<strong>DOB:</strong>
|
|
<%= @worker.dob %>
|
|
</p>
|
|
<p>
|
|
<strong>SSN:</strong>
|
|
<%= @worker.ssn %>
|
|
</p>
|
|
<p>
|
|
<strong>Gender:</strong>
|
|
<%= @worker.gender %>
|
|
</p>
|
|
|
|
<%= link_to 'Edit', edit_worker_path(@worker) %> |
|
|
<%= link_to 'Back to List', workers_path %>
|