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

34 lines
1.2 KiB
Text
Raw Normal View History

.fr-px-2w
.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-02-14 17:57:50 +01:00
- if dossier.justificatif_motivation.attached?
-# download component already has margin bottom
%div
%p.champ-label Justificatif :
.champ-content
.action
= render Attachment::ShowComponent.new(attachment: dossier.justificatif_motivation.attachment)
- if dossier.motivation.present?
.fr-mb-2w
%p.champ-label Motivation :
.champ-content
.action
= dossier.motivation
- if dossier.attestation.present?
.fr-mb-2w
%p.champ-label Attestation :
.champ-content
.action
= link_to('Voir lattestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')