Skip to content

Commit

Permalink
Merge pull request #139 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 84c60e5 + bbd5cb4 commit a3de4eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ If a template has placeholder fields for personalised information such as name o
```ruby
personalisation: {
name: "John Smith",
year: "2016"
year: "2016",
# pass in an array and it will appear as bullet points in the message:
required_documents: ["passport", "utility bill", "other id"],
}
```

Expand Down Expand Up @@ -447,7 +449,9 @@ personalisation: {
address_line_2: '123 High Street', # mandatory address field
address_line_3: 'SW14 6BH', # mandatory address field
name: 'John Smith', # field from template
application_date: '2018-01-01' # field from template
application_date: '2018-01-01' # field from template,
# pass in an array and it will appear as bullet points in the letter:
required_documents: ["passport", "utility bill", "other id"],
},
```

Expand Down

0 comments on commit a3de4eb

Please sign in to comment.