From 71cb100e083cc03de4492b0c9d6035ef8bb47ab1 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 21 Apr 2016 09:28:31 +0100 Subject: [PATCH] Show subject line with placeholders replaced On the check page, we show what the message will look like with the data from the first row of the CSV, if the CSV contains all the required data. We should do the same for the subject line. --- app/templates/views/check.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/check.html b/app/templates/views/check.html index cf1e7dc81..d1b71885e 100644 --- a/app/templates/views/check.html +++ b/app/templates/views/check.html @@ -46,7 +46,7 @@ {% if 'email' == template.template_type %} {{ email_message( - template.formatted_subject_as_markup, + template.formatted_subject_as_markup if errors else template.replaced_subject, template.formatted_as_markup if errors else template.replaced, from_address='{}@notifications.service.gov.uk'.format(current_service.email_from), from_name=current_service.name