use attached
This commit is contained in:
parent
f181126e18
commit
77c49e079f
2 changed files with 2 additions and 2 deletions
|
@ -47,6 +47,6 @@
|
|||
#accordion-116.fr-collapse.js_description_target_audience
|
||||
= t('shared.procedure_description.estimated_fill_duration_detail', estimated_minutes: estimated_fill_duration_minutes(procedure))
|
||||
|
||||
- if notice_url(procedure).present?
|
||||
- if procedure.notice.attached?
|
||||
.fr-my-3w
|
||||
= render Dsfr::DownloadComponent.new(attachment: procedure.notice , url: notice_url(procedure), name: t("views.shared.dossiers.edit.notice"), ephemeral_link: administrateur_signed_in?)
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue