1. Government Frontend Component Guide
  2. Summary list
  3. With edit on section

Summary list example

With edit on section

How it looks

Title, summary and body

Title
Ethical standards for public service providers
Summary
Find out more about our reviews on the subject of ethical standards for public service providers, including our 2014 report, 2015 guidance and 2018 follow-up publication.
Body
After the government decided in 2013 to expand the remit of the Committee to include public service providers, the Committee on Standards in Public Life produced our first report on the issue: Ethical Standards for Providers of Public Services in 2014.

How to call this example

<%= render "govuk_publishing_components/components/summary_list", {
  title: "Title, summary and body",
  items: [
    {
      field: "Title",
      value: "Ethical standards for public service providers"
    },
    {
      field: "Summary",
      value: "Find out more about our reviews on the subject of ethical standards for public service providers, including our 2014 report, 2015 guidance and 2018 follow-up publication."
    },
    {
      field: "Body",
      value: "After the government decided in 2013 to expand the remit of the Committee to include public service providers, the Committee on Standards in Public Life produced our first report on the issue: Ethical Standards for Providers of Public Services in 2014."
    }
  ],
  edit: {
    href: "edit-title-summary-body",
    data_attributes: {
      gtm: "edit-title-summary-body"
    }
  }
} %>