mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Add some SMS messages to the choose template page
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
{% macro sms_message(body, recipient) %}
|
||||
{% macro sms_message(body, recipient=None, name=None, edit_link=None) %}
|
||||
{% if name %}
|
||||
<h3 class="sms-message-name">
|
||||
{{ name }}
|
||||
{% if edit_link %}
|
||||
<a href="{{ edit_link }}">Edit</a>
|
||||
{% endif %}
|
||||
</h3>
|
||||
{% endif %}
|
||||
<div class="sms-message">
|
||||
<div class="sms-message-wrapper">
|
||||
{{ body|placeholders }}
|
||||
|
||||
Reference in New Issue
Block a user