Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back buttons #12

Open
peteryates opened this issue Feb 13, 2022 · 0 comments
Open

Back buttons #12

peteryates opened this issue Feb 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@peteryates
Copy link
Member

peteryates commented Feb 13, 2022

Currently the output from wizardry_content doesn't include a back link. Back links are part of the design system and should be present on wizards. The guidance states:

Make sure the link takes users to the previous page they were on, in the state they last saw it. Where possible, ensure it works even when JavaScript is not available.

This should be achievable using Rails' link_to(:back).

It probably makes sense for it to be configurable at the wizard level, perhaps having a include_back_links: true option that can be overridden when not needed would make sense.

Refs DFE-Digital/find-a-lost-trn/pull/23

@peteryates peteryates added the enhancement New feature or request label Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant