mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Edit template
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-xlarge">{{ h1 }}</h1>
|
|
|
|
<form method="post">
|
|
{{ textbox(form.name) }}
|
|
<fieldset class="form-group">
|
|
<legend class="form-label">
|
|
Template type
|
|
</legend>
|
|
<label class="block-label" for="template_type">
|
|
<input type="radio" name="template_type" id="template_type" checked="checked" value="sms" />
|
|
Text message
|
|
</label>
|
|
</fieldset>
|
|
{{ textbox(form.template_content, highlight_tags=True) }}
|
|
{{ page_footer(
|
|
'Save',
|
|
delete_link=url_for('.delete_service_template', service_id=service_id, template_id=template_id) if template_id or None,
|
|
delete_link_text='delete this template',
|
|
back_link=url_for('.manage_service_templates', service_id=service_id),
|
|
back_link_text='Back to templates'
|
|
) }}
|
|
</form>
|
|
|
|
|
|
{% endblock %}
|