mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Enhance the ‘how to do placeholders’ hint
This commit makes the ‘how to do placeholders’ box part of the tour, with the same blue background. It also adds some Javascript enhancement so that: - it responds to the contents of the message template - has a ‘show me’ link which inserts ‘Dear ((name))’ into the template contents textbox We’ve found that this has helped people understnad what placeholders are, and how to do them.
This commit is contained in:
@@ -202,7 +202,7 @@ class SMSTemplateForm(Form):
|
||||
validators=[DataRequired(message="Template name cannot be empty")])
|
||||
|
||||
template_content = TextAreaField(
|
||||
u'Message',
|
||||
u'Message content',
|
||||
validators=[DataRequired(message="Template content cannot be empty")])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user