Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Aug 16, 2022
1 parent 1050737 commit 0d83697
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Prototype wizard
# GOV.UK Prototype Wizard

Easily build and iterate a ‘one thing per page’ user journey when prototyping GOV.UK services.
Build and iterate ‘one thing per page’ user journeys when prototyping GOV.UK services.

Use it with the [govuk-prototype-kit](https://github.com/alphagov/govuk-prototype-kit).
Use it with the [GOV.UK Prototype Kit](https://govuk-prototype-kit.herokuapp.com/docs).

## Requirements

Expand All @@ -21,7 +21,7 @@ npm install govuk-prototype-wizard --save
The `wizard` helper takes two parameters:

1. A journey object, which defines the default user journey and any branching rules
2. The express request object ('req')
2. The express request object (`req`)

It returns a `paths` object with paths for the next, back and the current pages. Any query parameters are kept.

Expand Down Expand Up @@ -164,7 +164,7 @@ router.post('/wizard/:view', (req, res) => {

An example Nunjucks layout extending the default GOV.UK layout:

```
```njk
{% extends "layout.html" %}
{% block pageNavigation %}
{{ govukBackLink({
Expand All @@ -188,7 +188,7 @@ An example Nunjucks layout extending the default GOV.UK layout:

### Build your question pages

```
```njk
{% extends "layouts/wizard.html" %}
{% block form %}
{{ govukInput({
Expand Down

0 comments on commit 0d83697

Please sign in to comment.