Modified the start and end date fields so they display correctly in line with the rest of our design
This commit is contained in:
parent
b742c3bf78
commit
38e4553e33
|
@ -33,7 +33,7 @@
|
|||
|
||||
<p class="card-text">
|
||||
<strong>DOB:</strong>
|
||||
<%= @participant.dob.strftime('%B, %d, %Y') if @participant.dob.present? %>
|
||||
<%= @participant.dob.strftime('%B %d, %Y') if @participant.dob.present? %>
|
||||
</p>
|
||||
|
||||
|
||||
|
@ -74,8 +74,8 @@
|
|||
<% @participant.employments.each do |employment| %>
|
||||
<tr>
|
||||
<td><%= employment.worker&.name || 'No Worker Assigned' %></td>
|
||||
<td><%= employment.start_date %></td>
|
||||
<td><%= employment.end_date %></td>
|
||||
<td><%= employment.start_date.strftime('%B %d, %Y') if employment.start_date.present? %></td>
|
||||
<td><%= employment.end_date.strftime('%B %d, %Y') if employment.end_date.present? %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue