Skip to content

Commit

Permalink
Merge pull request #235 from alphagov/bullet-points-in-personalisation
Browse files Browse the repository at this point in the history
Guidance for adding bullet points in personalisation
  • Loading branch information
CrystalPea authored Dec 14, 2023
2 parents c5f3ac6 + c1fc111 commit eb2d43a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ If a template has placeholder fields for personalised information such as name o

```python
personalisation={
'first_name': 'Amala',
'application_date': '2018-01-01',
"first_name": "Amala",
"application_date": "2018-01-01",
# pass in a list and it will appear as bullet points in the message:
"required_documents": ["passport", "utility bill", "other id"],
}
```
You can leave out this argument if a template does not have any placeholder fields for personalised information.
Expand Down Expand Up @@ -443,7 +445,9 @@ personalisation={
'address_line_4': 'Middlesex',
'address_line_5': 'SW14 6BF',
'name': 'John Smith',
'application_id': '4134325'
'application_id': '4134325',
# pass in a list and it will appear as bullet points in the letter:
"required_documents": ["passport", "utility bill", "other id"],
}
```

Expand Down

0 comments on commit eb2d43a

Please sign in to comment.