use attached

This commit is contained in:
simon lehericey 2023-06-07 10:52:24 +02:00
parent f181126e18
commit 77c49e079f
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
- if dossier.brouillon?
= t('views.shared.dossiers.edit.autosave')
- if notice_url(dossier.procedure).present?
- if dossier.procedure.notice.attached?
= render Dsfr::DownloadComponent.new(attachment: dossier.procedure.notice , url: notice_url(dossier.procedure), name: t("views.shared.dossiers.edit.notice"), ephemeral_link: administrateur_signed_in?)
- if dossier.show_groupe_instructeur_selector?