Use custom layout for DXT form pages#66
Merged
Merged
Conversation
Contributor
Author
f843586 to
210b8b6
Compare
aliuk2012
reviewed
May 7, 2025
aliuk2012
reviewed
May 7, 2025
aliuk2012
reviewed
May 7, 2025
029e431 to
6783fcc
Compare
alexluckett
commented
May 7, 2025
6783fcc to
2decd03
Compare
2d19273 to
7e664c6
Compare
7e664c6 to
a016120
Compare
aliuk2012
approved these changes
May 8, 2025
a016120 to
8a4e007
Compare
8a4e007 to
1e3b033
Compare
|
tejpowar
pushed a commit
that referenced
this pull request
Jul 8, 2025
- Use layouts/form.njk as the base for DXT form pages - Update DXT to 0.1.14 - Fix blank string - Import DXT SCSS - Rename form.njk to dxt-forms.njk - Add Error: prefix to page title if errors exist - Include form views on viewpaths Co-authored-by: Alistair Laing <aliuk2012@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Creates a new
layouts/form.njk, based off our baselayouts/page.njktemplate. Thisform.njktemplate adds any required alterations for a form to be presented.This PR is not quite ready to be merged, I'm having one issue with the initialisation of a YesNo component on a form - just trying to work that out. It's completely unrelated to this change, not quite sure what's going on!
There's a dependency on the next version of the plugin, which hasn't been published yet. See: DEFRA/forms-engine-plugin#60
Old:

New:
