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

8 lines
247 B
Text

.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