mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 14:29:49 -04:00
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:
@@ -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')
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user