Added template ID to template page, to allow users to identity required data for API calls.

This commit is contained in:
Martyn Inglis
2016-01-22 12:44:19 +00:00
parent d7f3cccbc5
commit fb3b6510c4
3 changed files with 4 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ GOV.UK Notify | Manage templates
{{ sms_message(
template.get_field('content'),
name=template.title,
id=template.get_field('id'),
edit_link=url_for('.edit_service_template', service_id=template.get_field('service'), template_id=template.get_field('id'))
) }}
{% elif template.get_field('template_type') == 'email' %}