Skip to content

Commit 966d643

Browse files
committed
fix: correct Liquid syntax in PAGE_EVENTS documentation
- Updated the conditional logic in the PAGE_EVENTS documentation to properly display messages based on the awarded grant value. - Replaced the incorrect closing tag with an else statement to enhance clarity and ensure accurate rendering of the content.
1 parent e3315bc commit 966d643

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/features/configuration-based/PAGE_EVENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Page template:
117117
```jinja2
118118
{% if context.data.awardedGrantValue %}
119119
<p class="govuk-body">Congratulations. You are likely to receive up to £{{ context.data.awardedGrantValue }}.</p>
120-
{% endif %}
120+
{% else %}
121121
<p class="govuk-body">You have not been awarded any funding for this application.</p>
122122
{% endif %}
123123
```

0 commit comments

Comments
 (0)