Avis : display introduction file to experts

This commit is contained in:
Kara Diaby 2021-11-29 15:00:50 +01:00
parent 84886ac379
commit f1525a798f

View file

@ -40,6 +40,11 @@
- if avis.revokable_by?(current_instructeur)
|
= link_to(t('revoke', scope: 'helpers.label'), revoquer_instructeur_avis_path(avis.procedure, avis), data: { confirm: t('revoke', scope: 'helpers.confirmation', email: avis.expert.email) }, method: :patch)
- if avis.introduction_file.attached?
= render partial: 'shared/attachment/show', locals: { attachment: avis.introduction_file.attachment }
.answer-body.mb-3
%p #{t('views.instructeurs.avis.introduction_file_explaination')} #{avis.claimant.email}
- if avis.piece_justificative_file.attached?
= render partial: 'shared/attachment/show', locals: { attachment: avis.piece_justificative_file.attachment }
.answer-body