Readded SSN and Gender to Participant Details. Hide all but last 4 of ssn on Show view.

This commit is contained in:
Ben 2024-02-02 16:01:26 -06:00
parent dbc900a7f3
commit 9066a968eb
1 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,14 @@
<th>DOB</th> <th>DOB</th>
<td><%= @participant.dob.strftime('%B %d, %Y') if @participant.dob.present? %></td> <td><%= @participant.dob.strftime('%B %d, %Y') if @participant.dob.present? %></td>
</tr> </tr>
<tr>
<th>SSN</th>
<td><%= mask_ssn(@participant.ssn) %></td>
</tr>
<tr>
<th>Gender</th>
<td><%= @participant.gender %></td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>