1. Component Guide
  2. Attachment
  3. With contact email
Attachment example

With contact email

How it looks (preview)

Department for Transport information asset register

Request an accessible format.
If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email defra.helpline@defra.gsi.gov.uk. Please tell us what format you need. It will help us if you say what assistive technology you use.

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: "application/pdf",
    file_size: 20000,
    alternative_format_contact_email: "defra.helpline@defra.gsi.gov.uk"
  }
} %>