Remove example personalisation from template page

This was of dubious value, and the syntax probably isn’t accurate for
all languages.
This commit is contained in:
Chris Hill-Scott
2016-08-10 10:09:04 +01:00
parent 44a0845882
commit 7010e35256
3 changed files with 2 additions and 11 deletions

View File

@@ -193,13 +193,9 @@ def send_from_api(service_id, template_id):
service_api_client.get_service_template(service_id, template_id)['data'],
prefix=current_service['name']
)
personalisation = {
placeholder: "..." for placeholder in template.placeholders
}
return render_template(
'views/send-from-api.html',
template=template,
personalisation=json.dumps(personalisation, indent=4) if personalisation else None
template=template
)