diff --git a/app/main/views/send.py b/app/main/views/send.py index 07aa0eb52..82619ed8f 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -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 ) diff --git a/app/templates/views/send-from-api.html b/app/templates/views/send-from-api.html index 4a0a91b6f..266bdb088 100644 --- a/app/templates/views/send-from-api.html +++ b/app/templates/views/send-from-api.html @@ -32,9 +32,4 @@ {{ api_key(template.id, name="Template ID", thing='template ID') }} - {% if personalisation %} -