Merge pull request #987 from sgmap/handle-no-dob
Do not crash if the user has no DOB
This commit is contained in:
commit
19fbae6a78
1 changed files with 4 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
|||
%tr
|
||||
%th Nom :
|
||||
%td= individual.nom
|
||||
%tr
|
||||
%th Date de naissance :
|
||||
%td= Date.parse(individual.birthdate).strftime("%d/%m/%Y")
|
||||
- if individual.birthdate.present?
|
||||
%tr
|
||||
%th Date de naissance :
|
||||
%td= Date.parse(individual.birthdate).strftime("%d/%m/%Y")
|
||||
|
|
Loading…
Reference in a new issue