Masked all SSN's on show pages for Participants, Workers and Employers.

This commit is contained in:
Ben 2024-02-05 15:11:36 -06:00
parent 1405b938cd
commit 85dd95b5e1
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
</tr>
<tr>
<th>SSN</th>
<td><%= @employer.ssn %></td>
<td><%= mask_ssn(@employer.ssn) %></td>
</tr>
<tr>
<th>Gender</th>

View File

@ -30,7 +30,7 @@
</tr>
<tr>
<th>SSN</th>
<td><%= @worker.ssn %></td> <!-- You might want to mask this for privacy -->
<td><%= mask_ssn (@worker.ssn) %></td>
</tr>
<tr>
<th>Gender</th>
@ -108,7 +108,7 @@
<%= form.date_field :end_date, class: 'form-control' %>
</div>
<div class="col-12"> <!-- Added text-center for button alignment -->
<div class="col-12rai"> <!-- Added text-center for button alignment -->
<%= form.submit "Link Participant", class: 'btn btn-dark' %>
</div>
<% end %>