From 2f900d55c5697893234304d10b6c0d10074cfd4c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 3 Apr 2017 10:46:21 +0100 Subject: [PATCH] Explain contact details changes apply all letters This is different to how editing most parts of a letter works, so we should make it explicit. --- app/main/forms.py | 4 +--- .../views/service-settings/set-letter-contact-block.html | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/main/forms.py b/app/main/forms.py index cb5c9943a..d303b3673 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -502,9 +502,7 @@ class ServiceSmsSender(Form): class ServiceLetterContactBlock(Form): - letter_contact_block = TextAreaField( - 'How should users contact you?' - ) + letter_contact_block = TextAreaField() def validate_letter_contact_block(form, field): line_count = field.data.strip().count('\n') diff --git a/app/templates/views/service-settings/set-letter-contact-block.html b/app/templates/views/service-settings/set-letter-contact-block.html index d7c8168fd..33633e0f5 100644 --- a/app/templates/views/service-settings/set-letter-contact-block.html +++ b/app/templates/views/service-settings/set-letter-contact-block.html @@ -15,6 +15,7 @@
{{ textbox( form.letter_contact_block, + label='How should users contact your service?
This applies to all the letters you send.'|safe, hint='10 lines maximum', width='1-1', rows=10