With many errors
How it looks (preview)
Message to alert the user to a problem goes here
Optional description of the errors and how to correct them
- Descriptive link to the question with an error 1
- Descriptive link to the question with an error 2
- Description of error without link
How to call this example
<%= render "govuk_publishing_components/components/error_summary", {
title: "Message to alert the user to a problem goes here",
description: "Optional description of the errors and how to correct them",
items: [
{
text: "Descriptive link to the question with an error 1",
href: "#example-error-1"
},
{
text: "Descriptive link to the question with an error 2",
href: "#example-error-2"
},
{
text: "Description of error without link"
}
]
} %>