add mention if user_deleted and move dossier info back to info_generales

This commit is contained in:
Lisa Durand 2023-02-23 15:00:59 +01:00
parent 90a7ecef52
commit 76947a5ccf
5 changed files with 19 additions and 26 deletions

View file

@ -10,3 +10,17 @@
%td
.action
= render Attachment::ShowComponent.new(attachment: dossier.justificatif_motivation.attachment)
- if dossier.motivation.present?
%tr
%td.libelle Motivation :
%td
.action
= dossier.motivation
- if dossier.attestation.present?
%tr
%td.libelle Attestation :
%td
.action
= link_to('Voir lattestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')