fix: download link with empty value, otherwise it could be used to name the file

This commit is contained in:
Colin Darie 2022-10-10 19:04:57 +02:00
parent df672fb493
commit 03de58c7e2
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
- if template&.attached?
%p.mb-1
Veuillez télécharger, remplir et joindre
= link_to(url_for(template), download: true, class: "fr-link fr-link--icon-right fr-icon-download-line") do
= link_to(url_for(template), download: "", class: "fr-link fr-link--icon-right fr-icon-download-line") do
le modèle suivant
- if helpers.administrateur_signed_in?