demarches-normaliennes/app/views/shared/dossiers/_infos_generales.html.haml

27 lines
763 B
Text
Raw Normal View History

%table.table.vertical.dossier-champs{ role: :presentation }
%tbody
%tr
%td.libelle Déposé le :
%td= l(dossier.depose_at, format: '%d %B %Y')
2023-02-14 17:57:50 +01:00
- if dossier.justificatif_motivation.attached?
%tr
%td.libelle Justificatif :
%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')