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>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Date of Birth</th>
|
<th>Date of Birth</th>
|
||||||
<td><%= @employer.dob %></td>
|
<td><%= @employer.dob.strftime('%B %d, %Y') if @employer.dob.present? %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>SSN</th>
|
<th>SSN</th>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<th>Address</th>
|
<th>Address</th>
|
||||||
<td>
|
<td>
|
||||||
<%= @worker.address_line_1 %><%= ', ' + @worker.address_line_2 unless @worker.address_line_2.blank? %>
|
<%= @worker.address_line_1 %><%= ', ' + @worker.address_line_2 unless @worker.address_line_2.blank? %>
|
||||||
<br>
|
<br>
|
||||||
<%= "#{@worker.city}, #{@worker.state} #{@worker.zip}" %>
|
<%= "#{@worker.city}, #{@worker.state} #{@worker.zip}" %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>DOB</th>
|
<th>DOB</th>
|
||||||
<td><%= @worker.dob %></td>
|
<td><%= @worker.dob.strftime('%B %d, %Y') if @worker.dob.present? %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>SSN</th>
|
<th>SSN</th>
|
||||||
|
|
Loading…
Reference in New Issue