fix specs

This commit is contained in:
Lisa Durand 2023-02-22 12:03:37 +01:00
parent b7a5f8bf7f
commit fddcce8b7b
9 changed files with 163 additions and 132 deletions

View file

@ -4,23 +4,9 @@
%td.libelle Déposé le :
%td= l(dossier.depose_at, format: '%d %B %Y')
- if dossier.motivation.present?
%tr
%td.libelle Motivation :
%td
.action
= dossier.motivation
- if dossier.justificatif_motivation.attached?
%tr
%td.libelle Justificatif :
%td
.action
= render Attachment::ShowComponent.new(attachment: dossier.justificatif_motivation.attachment)
- if dossier.attestation.present?
%tr
%td.libelle Attestation :
%td
.action
= link_to(attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')