Fixed editing for Worker and Employer DOB in their respective show views.

This commit is contained in:
Ben 2024-02-12 14:09:20 -06:00
parent 84136d6d3d
commit 2360c8fa91
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
</tr>
<tr>
<th>Date of Birth</th>
<td><%= @employer.dob %></td>
<td><%= @employer.dob.strftime('%B %d, %Y') if @employer.dob.present? %></td>
</tr>
<tr>
<th>SSN</th>

View File

@ -16,7 +16,7 @@
<th>Address</th>
<td>
<%= @worker.address_line_1 %><%= ', ' + @worker.address_line_2 unless @worker.address_line_2.blank? %>
<br>
<br>
<%= "#{@worker.city}, #{@worker.state} #{@worker.zip}" %>
</td>
</tr>
@ -30,7 +30,7 @@
</tr>
<tr>
<th>DOB</th>
<td><%= @worker.dob %></td>
<td><%= @worker.dob.strftime('%B %d, %Y') if @worker.dob.present? %></td>
</tr>
<tr>
<th>SSN</th>