2022-11-29 17:03:40 +01:00
|
|
|
|
%table.table.vertical.dossier-champs{ role: :presentation }
|
2019-02-18 17:52:15 +01:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2021-12-21 12:28:17 +01:00
|
|
|
|
%td.libelle Déposé le :
|
2021-12-06 15:49:17 +01:00
|
|
|
|
%td= l(dossier.depose_at, format: '%d %B %Y')
|
2023-02-14 17:57:50 +01:00
|
|
|
|
|
2019-02-18 17:52:15 +01:00
|
|
|
|
- if dossier.justificatif_motivation.attached?
|
|
|
|
|
%tr
|
2021-12-21 12:28:17 +01:00
|
|
|
|
%td.libelle Justificatif :
|
2019-02-18 17:52:15 +01:00
|
|
|
|
%td
|
|
|
|
|
.action
|
2022-05-06 12:24:01 +02:00
|
|
|
|
= render Attachment::ShowComponent.new(attachment: dossier.justificatif_motivation.attachment)
|
2023-02-23 15:00:59 +01:00
|
|
|
|
|
|
|
|
|
- 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 l’attestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')
|