Attachment example

Opendocument

How it looks (preview)

BEIS Information Asset Register

How to call this example

<%= render "govuk_publishing_components/components/attachment", {
  attachment: {
    title: "BEIS Information Asset Register",
    url: "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/744083/BEIS_Information_Asset_Register_.ods",
    filename: "BEIS_Information_Asset_Register_.ods",
    content_type: "application/vnd.oasis.opendocument.spreadsheet",
    file_size: 20000
  }
} %>