Attachment example

Help text disabled

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/attachment", {
  attachment: {
    title: "Attitudes in Iraq: June 2005 wave 1",
    url: "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/137879/20130110_Iraq_wave01.txt",
    filename: "20130110_Iraq_wave01.txt",
    content_type: "text/plain",
    file_size: 108515
  },
  hide_opendocument_metadata: true
} %>