2023-07-03 22:41:46 +02:00
|
|
|
|
.fr-px-2w.fr-mb-4w
|
2023-06-29 00:41:46 +02:00
|
|
|
|
.fr-my-2w
|
|
|
|
|
%p
|
|
|
|
|
= t(:submitted_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.depose_at))
|
|
|
|
|
%br
|
|
|
|
|
- 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))
|
|
|
|
|
|
|
|
|
|
.fr-highlight
|
|
|
|
|
%p.fr-text--sm.fr-text-mention--grey Sauf mention contraire, les champs ont été saisis à la date du dépôt du dossier.
|
2023-06-22 17:17:53 +02:00
|
|
|
|
|
2019-02-18 17:52:15 +01:00
|
|
|
|
- if dossier.justificatif_motivation.attached?
|
2023-07-03 22:41:46 +02:00
|
|
|
|
= render Dossiers::RowShowComponent.new(label: "Justificatif") do |c|
|
|
|
|
|
- c.with_value do
|
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-07-03 22:41:46 +02:00
|
|
|
|
= render Dossiers::RowShowComponent.new(label: "Motivation") do |c|
|
|
|
|
|
- c.with_value do
|
2023-12-08 17:40:22 +01:00
|
|
|
|
= simple_format dossier.motivation
|
2023-02-23 15:00:59 +01:00
|
|
|
|
|
|
|
|
|
- if dossier.attestation.present?
|
2023-07-03 22:41:46 +02:00
|
|
|
|
= render Dossiers::RowShowComponent.new(label: "Attestation") do |c|
|
|
|
|
|
- c.with_value do
|
|
|
|
|
= link_to('Voir l’attestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), **external_link_attributes)
|