Add a hint about how to use placeholders

Since placeholders (almost) work now, it’s worth telling people what the syntax
is.

This commit also removes the ‘template type’ picker, since you can only create
SMS templates at the moment. This will be revisited when we start looking at how
you add an email template.
This commit is contained in:
Chris Hill-Scott
2016-02-18 07:44:50 +00:00
parent 45cacd82d3
commit 426a23decd
8 changed files with 38 additions and 31 deletions

View File

@@ -188,7 +188,6 @@ class TemplateForm(Form):
name = StringField(
u'Template name',
validators=[DataRequired(message="Template name cannot be empty")])
template_type = RadioField(u'Template type', choices=[('sms', 'SMS')])
template_content = TextAreaField(
u'Message',