demarches-normaliennes/app/components/dsfr/download_component/download_component.html.haml

9 lines
247 B
Text
Raw Normal View History

.fr-download
%p
= link_to url, {class: "fr-download__link", title: title}.merge(new_tab ? { target: '_blank' } : { download: '' }) do
= name
%span.fr-download__detail
= helpers.download_details(attachment)
= right