Skip to content

Commit

Permalink
Merge pull request #242 from alphagov/joelanman-patch-1
Browse files Browse the repository at this point in the history
change dot to bracket notation
  • Loading branch information
oli-rose28 authored Jul 7, 2023
2 parents b4ec012 + b7492d0 commit 8cceb1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v13/documentation/conditional-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ An example with conditional content when the answer is Scotland and different co
This service is also available in Gaelic.
</div>
{% elseif (data.country == "Wales") %}
{% elseif (data['country'] == "Wales") %}
<div class="govuk-inset-text">
This service is also available in Welsh.
Expand Down Expand Up @@ -108,4 +108,4 @@ An example where the 'country' is Scotland and the content is different based on
</div>
{% endif %}
```
```

0 comments on commit 8cceb1c

Please sign in to comment.