Fixed editing for Worker and Employer DOB in their respective show views.
This commit is contained in:
parent
84136d6d3d
commit
2360c8fa91
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue