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

ASL-4474 - Provide context for templates in fieldset and model summary snippets #324

Merged

Conversation

jeff-horton-ho-sas
Copy link
Contributor

As part of https://collaboration.homeoffice.gov.uk/jira/browse/ASL-4474 there needs to be a label as part of the establishments billing information that varies on the current year. Snippets already support using mustache templates to allow injecting context into a snippet. This adds a mechanism to pass a context to use for this when rendering a model as a fieldset or summary via the existing formatters parameter.

@github-actions github-actions bot force-pushed the asl-4474--context-for-templates-in-fieldset-snippets branch from 3139da6 to 3187274 Compare February 19, 2024 15:26
@jeff-horton-ho-sas jeff-horton-ho-sas merged commit 7fa236f into main Feb 20, 2024
1 check passed
@jeff-horton-ho-sas jeff-horton-ho-sas deleted the asl-4474--context-for-templates-in-fieldset-snippets branch April 23, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants