Files
notifications-admin/app/templates/views/edit-sms-template.html
T

43 lines
1.5 KiB
HTML
Raw Normal View History

2015-12-14 16:53:07 +00:00
{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
2016-01-07 20:11:22 +00:00
{% from "components/page-footer.html" import page_footer %}
{% from "components/radios.html" import radios %}
2017-02-13 10:45:15 +00:00
{% block service_page_title %}
{{ heading_action }} text message template
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
<h1 class="heading-large">
{{ heading_action }} text message template
</h1>
<form method="post">
2016-02-18 07:44:50 +00:00
<div class="grid-row">
<div class="column-two-thirds">
{{ textbox(form.name, width='1-1', hint='Your recipients wont see this') }}
2016-02-18 07:44:50 +00:00
</div>
<div class="column-two-thirds">
2016-06-20 16:00:42 +01:00
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=5) }}
{% if current_user.has_permissions([], admin_override=True) %}
{{ radios(form.process_type) }}
{% endif %}
{{ page_footer(
'Save',
2016-04-13 16:19:34 +01:00
delete_link=url_for('.delete_service_template', service_id=current_service.id, template_id=template_id) if template_id or None,
delete_link_text='Delete this template'
) }}
2016-02-18 07:44:50 +00:00
</div>
2016-07-01 17:07:39 +01:00
<aside class="column-whole">
{% include "partials/templates/guidance-personalisation.html" %}
{% include "partials/templates/guidance-optional-content.html" %}
{% include "partials/templates/guidance-links.html" %}
{% include "partials/templates/guidance-character-count.html" %}
</aside>
2016-02-18 07:44:50 +00:00
</div>
</form>
{% endblock %}