mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 14:39:49 -04:00
Use real templates when sending text messages
Sets the value of `template` to the ID of the chosen template when submitting the form.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
|
||||
<fieldset class='form-group'>
|
||||
<legend class="heading-medium">1. Choose text message template</legend>
|
||||
{% for template in message_templates %}
|
||||
{% for template in templates %}
|
||||
{{ sms_message(
|
||||
template.body, name=template.name, input_name='template', input_index=loop.index
|
||||
template.content, name=template.name, input_name='template', input_index=template.id
|
||||
) }}
|
||||
{% endfor %}
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user