With parts and no underline
The legacy finders design does not include underlines on links, neither on the main item nor the children.
How it looks (preview)
-
Universal Credit is replacing 6 other benefits with a single monthly payment if you are out of work or on a low income - eligibility, how to prepare
-
What universal credit is
Universal Credit is a payment to help with your living costs. It’s paid monthly - or twice a month for some people in Scotland.
-
Elegibility
You may be able to get Universal Credit if: you’re on a low income or out...
-
Criteria
no url provided, just text
-
What universal credit is
How to call this example
<%= render "govuk_publishing_components/components/document_list", {
remove_underline: true,
items: [
{
link: {
text: "Universal credit",
path: "/universal-credit",
description: "Universal Credit is replacing 6 other benefits with a single monthly payment if you are out of work or on a low income - eligibility, how to prepare"
},
parts: [
{
link: {
text: "What universal credit is",
path: "/universal-credit/what-it-is",
description: "Universal Credit is a payment to help with your living costs. It’s paid monthly - or twice a month for some people in Scotland."
}
},
{
link: {
text: "Elegibility",
path: "/universal-credit/eligibility",
description: "You may be able to get Universal Credit if: you’re on a low income or out...",
data_attributes: {
an_attribute: "some_value"
}
}
},
{
link: {
text: "Criteria",
description: "no url provided, just text"
}
}
]
}
]
} %>