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

@ -23,6 +23,29 @@
= render(partial: 'instructeurs/dossiers/expiration_banner', locals: {dossier: dossier})
- if dossier.motivation.present?
%p.fr-mb-1w
%small
%strong
Motivation :
« #{dossier.motivation} »
- if dossier.justificatif_motivation.attached?
%p.fr-mb-0
%small
%strong
Justificatif :
Ce justificatif joint par linstructeur a été envoyé au demandeur.
= render partial: 'users/dossiers/show/download_justificatif', locals: { dossier: dossier }
- if dossier.attestation.present?
%p.fr-mb-0
%small
%strong
Cette attestation a été envoyée automatiquement au demandeur.
= link_to('Voir lattestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')
%nav.tabs
%ul
- notifications_summary = current_instructeur.notifications_for_dossier(dossier)