Previous and next navigation: Become a lorry bus driver example

Navigational links that allow users navigate within a series of pages or elements.

This component accepts 2 optional parameters, previous and next.

Each optional parameter accepts:

If one of the 2 parameters is nil, no link will appear.

How to call this component

<%= render partial: 'govuk_component/previous_and_next_navigation', locals: { previous_page: { url: "previous-page", title: "Previous", label: "Applying for a provisional lorry or bus licence" }, next_page: { url: "next-page", title: "Next", label: "Driver CPC part 1 test: theory" } } %>

How this component looks