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

26 lines
703 B
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 %}
{% block page_title %}
GOV.UK Notify | Edit template
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
<h1 class="heading-xlarge">{{ h1 }}</h1>
<form method="post">
{{ textbox(form.name) }}
{{ textbox(form.content, highlight_tags=True) }}
2016-01-07 20:11:22 +00:00
{{ page_footer(
2016-01-14 09:44:06 +00:00
'Save',
delete_link=url_for('.delete_service_template', service_id=service_id, template_id=template_id) if template_id or None,
back_link=url_for('.manage_service_templates', service_id=service_id),
2016-01-13 16:27:54 +00:00
back_link_text='Back to templates'
2016-01-07 20:11:22 +00:00
) }}
</form>
{% endblock %}