58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
<div class="container mt-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-6">
|
|
<h1 class="mb-4 text-center">Employer Details</h1>
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<p class="card-text">
|
|
<strong>Name:</strong>
|
|
<%= @employer.name %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>Address:</strong>
|
|
<%= @employer.address %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>Phone:</strong>
|
|
<%= @employer.phone %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>Email:</strong>
|
|
<%= @employer.email %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>TIN:</strong>
|
|
<%= @employer.tin %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>Date of Birth:</strong>
|
|
<%= @employer.dob %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>SSN:</strong>
|
|
<%= @employer.ssn %>
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
<strong>Gender:</strong>
|
|
<%= @employer.gender %>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-3 d-flex justify-content-between">
|
|
<%= link_to 'Edit', edit_employer_path(@employer), class: "btn btn-primary" %>
|
|
<%= link_to 'Back to List', employers_path, class: "btn btn-secondary" %>
|
|
<%= link_to 'Destroy', @employer, method: :delete, data: { confirm: 'Are you sure?', turbo: 'false' }, class: "btn btn-danger" %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|