mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Make the template preview work
The template was displaying raw, eg ‘Hello ((name))’ This commit changes it to use the `.formatted_as_markup` property so the template is rendered with: - the placeholders as blue lozenges - the service name prefixing the message
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
{{ sms_message(
|
||||
template,
|
||||
template.formatted_as_markup,
|
||||
)}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user