2023-04-28 10:33:01 +02:00
|
|
|
|
%div
|
2023-06-27 13:24:55 +02:00
|
|
|
|
%p.fr-my-2w.fr-px-4v
|
|
|
|
|
= t(:submitted_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.depose_at))
|
|
|
|
|
%br
|
2023-06-27 17:18:57 +02:00
|
|
|
|
- if dossier.last_champ_updated_at.present? && dossier.last_champ_updated_at > dossier.depose_at
|
|
|
|
|
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.last_champ_updated_at))
|
2023-06-22 17:17:53 +02:00
|
|
|
|
|
2023-02-14 17:57:50 +01:00
|
|
|
|
|
2019-02-18 17:52:15 +01:00
|
|
|
|
- if dossier.justificatif_motivation.attached?
|
2023-04-28 10:33:01 +02:00
|
|
|
|
.fr-my-4v.fr-px-4v
|
2023-06-27 13:24:55 +02:00
|
|
|
|
%p.champ-label Justificatif :
|
2023-04-28 10:33:01 +02:00
|
|
|
|
.champ-content.fr-text-action-high--grey
|
2019-02-18 17:52:15 +01:00
|
|
|
|
.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?
|
2023-04-28 10:33:01 +02:00
|
|
|
|
.fr-my-4v.fr-px-4v
|
2023-06-27 13:24:55 +02:00
|
|
|
|
%p.champ-label Motivation :
|
2023-04-28 10:33:01 +02:00
|
|
|
|
.champ-content.fr-text-action-high--grey
|
2023-02-23 15:00:59 +01:00
|
|
|
|
.action
|
|
|
|
|
= dossier.motivation
|
|
|
|
|
|
|
|
|
|
- if dossier.attestation.present?
|
2023-04-28 10:33:01 +02:00
|
|
|
|
.fr-my-4v.fr-px-4v
|
2023-06-27 13:24:55 +02:00
|
|
|
|
%p.champ-label Attestation :
|
2023-04-28 10:33:01 +02:00
|
|
|
|
.champ-content.fr-text-action-high--grey
|
2023-02-23 15:00:59 +01:00
|
|
|
|
.action
|
|
|
|
|
= link_to('Voir l’attestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')
|