2024-01-19 18:25:59 -06:00
|
|
|
<div class="container mt-5">
|
2024-02-02 17:40:57 -06:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
2024-01-19 18:25:59 -06:00
|
|
|
<h1 class="mb-4 text-center">Employer Details</h1>
|
2024-02-02 17:40:57 -06:00
|
|
|
</div>
|
2024-01-19 18:25:59 -06:00
|
|
|
|
2024-02-02 17:40:57 -06:00
|
|
|
<!-- Employer Information Table -->
|
|
|
|
<div class="col-12 mb-4">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<td><%= @employer.first_name %> <%= @employer.last_name %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Address</th>
|
|
|
|
<td><%= [@employer.address_line_1, @employer.address_line_2, @employer.city, @employer.state, @employer.zip].reject(&:blank?).join(', ') %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Phone</th>
|
|
|
|
<td><%= @employer.phone %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Email</th>
|
|
|
|
<td><%= @employer.email %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>TIN</th>
|
|
|
|
<td><%= @employer.tin %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Date of Birth</th>
|
|
|
|
<td><%= @employer.dob %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>SSN</th>
|
|
|
|
<td><%= @employer.ssn %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Gender</th>
|
|
|
|
<td><%= @employer.gender %></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-19 18:25:59 -06:00
|
|
|
|
2024-02-02 17:40:57 -06:00
|
|
|
<!-- Action Buttons -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 d-flex justify-content-between mb-4">
|
|
|
|
<%= link_to 'Edit', edit_employer_path(@employer), class: "btn btn-dark" %>
|
|
|
|
<%= link_to 'Back to List', employers_path, class: "btn btn-secondary" %>
|
2024-01-19 18:25:59 -06:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|