fix(avis#instruction): use safer claiment.email with a simple helper
This commit is contained in:
parent
91f1fa4ffb
commit
25a0daf0a2
3 changed files with 7 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
%h1.tab-title Donner votre avis
|
||||
%h2.claimant
|
||||
Demandeur :
|
||||
%span.email= @avis.claimant.email
|
||||
%span.email= safe_claimant_email(@avis.claimant)
|
||||
%span.date Demande d’avis envoyée le #{l(@avis.created_at, format: '%d/%m/%y')}
|
||||
%p.introduction= @avis.introduction
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue