Attachment example
Default
How it looks
(preview)
How to call this example
<%= render "govuk_publishing_components/components/attachment", {
attachment: {
title: "Department for Transport information asset register",
url: "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/747661/department-for-transport-information-asset-register.csv",
filename: "department-for-transport-information-asset-register.csv",
content_type: "text/csv",
file_size: 20000
}
} %>