fix: download link with empty value, otherwise it could be used to name the file
This commit is contained in:
parent
df672fb493
commit
03de58c7e2
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
- if notice_url(dossier.procedure).present?
|
||||
.fr-download
|
||||
%p
|
||||
= link_to notice_url(dossier.procedure), download: true, class: "fr-download__link mr-2", title: t("views.shared.dossiers.edit.notice_title") do
|
||||
= link_to notice_url(dossier.procedure), download: "", class: "fr-download__link mr-2", title: t("views.shared.dossiers.edit.notice_title") do
|
||||
= t("views.shared.dossiers.edit.notice")
|
||||
- if dossier.procedure.notice.attached?
|
||||
%span.fr-download__detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue