Document list example

Without links

How it looks (preview)

  • Alternative provision
  • Behaviour and discipline in schools: guide for governing bodies
  • Children missing education

How to call this example

<%= render "govuk_publishing_components/components/document_list", {
  items: [
    {
      link: {
        text: "Alternative provision"
      },
      metadata: {
        public_updated_at: "2016-06-27 11:29:44 +0100",
        document_type: "Statutory guidance"
      }
    },
    {
      link: {
        text: "Behaviour and discipline in schools: guide for governing bodies"
      },
      metadata: {
        public_updated_at: "2015-09-24 17:42:48 +0100",
        document_type: "Statutory guidance"
      }
    },
    {
      link: {
        text: "Children missing education"
      },
      metadata: {
        public_updated_at: "2016-09-05 17:48:27 +0100",
        document_type: "Statutory guidance"
      }
    }
  ]
} %>