Pagination example
Both previous and next
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/pagination", {
previous_page: {
href: "previous-page",
title: "Previous page",
label: "1 of 3"
},
next_page: {
href: "next-page",
title: "Next page",
label: "3 of 3"
}
} %>