mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-11 22:14:06 -05:00
This commit modifies the HTML `<title>` tags for all the pages. It makes two main changes: - make the title tag match the `<h1>` of the page, for better or worse - put the service name after the page title, seperated by an en dash, as per GOV.UK
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block page_title %}
|
||
{{ h1 }} – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">{{ 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',
|
||
secondary_link=url_for('.manage_service_templates', service_id=service_id),
|
||
secondary_link_text='Back to templates'
|
||
) }}
|
||
</form>
|
||
|
||
|
||
{% endblock %}
|