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.
This commit is contained in:
Chris Hill-Scott
2017-04-03 10:46:21 +01:00
parent 1f278bdd07
commit 2f900d55c5
2 changed files with 2 additions and 3 deletions

View File

@@ -502,9 +502,7 @@ class ServiceSmsSender(Form):
class ServiceLetterContactBlock(Form): class ServiceLetterContactBlock(Form):
letter_contact_block = TextAreaField( letter_contact_block = TextAreaField()
'How should users contact you?'
)
def validate_letter_contact_block(form, field): def validate_letter_contact_block(form, field):
line_count = field.data.strip().count('\n') line_count = field.data.strip().count('\n')

View File

@@ -15,6 +15,7 @@
<form method="post" class="column-half"> <form method="post" class="column-half">
{{ textbox( {{ textbox(
form.letter_contact_block, form.letter_contact_block,
label='How should users contact your service?<br>This applies to all the letters you send.'|safe,
hint='10 lines maximum', hint='10 lines maximum',
width='1-1', width='1-1',
rows=10 rows=10