With description and metadata
How it looks (preview)
-
The responsibilities parents have relating to school behaviour and attendance.
-
Rules governing school exclusion.
How to call this example
<%= render "govuk_publishing_components/components/document_list", {
items: [
{
link: {
text: "School behaviour and attendance: parental responsibility measures",
path: "/government/publications/parental-responsibility-measures-for-behaviour-and-attendance",
description: "The responsibilities parents have relating to school behaviour and attendance."
},
metadata: {
public_updated_at: "2017-01-05 14:50:33 +0000",
document_type: "Statutory guidance"
}
},
{
link: {
text: "School exclusion",
path: "/government/publications/school-exclusion",
description: "Rules governing school exclusion."
},
metadata: {
public_updated_at: "2017-07-19 15:01:48 +0000",
document_type: "Statutory guidance"
}
}
]
} %>