mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Edit template postage from a separate view
This commit is contained in:
16
app/templates/partials/templates/guidance-postage.html
Normal file
16
app/templates/partials/templates/guidance-postage.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<h2 class="heading-medium">
|
||||
Delivery times
|
||||
</h2>
|
||||
<p>
|
||||
Letters sent before 5:30pm are dispatched the next working day (Monday to Friday).
|
||||
</p>
|
||||
<p>
|
||||
First class letters are delivered one day after they're dispatched. Second class letters are delivered 2 days after they're dispatched.
|
||||
</p>
|
||||
<p>
|
||||
Royal Mail delivers from Monday to Saturday, excluding bank holidays.
|
||||
</p>
|
||||
<a href="{{ url_for('.pricing') + '#letters'}}">See a list of postage prices.</a>
|
||||
<p>
|
||||
<a href="{{ url_for('.view_template', service_id=service_id, template_id=template_id) }}">Back to template</a>
|
||||
</p>
|
||||
29
app/templates/views/templates/edit-template-postage.html
Normal file
29
app/templates/views/templates/edit-template-postage.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/page-footer.html" import sticky_page_footer %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Edit postage
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">
|
||||
Edit postage
|
||||
</h1>
|
||||
{% call form_wrapper() %}
|
||||
<div class="grid-row">
|
||||
<div class="column-five-sixths">
|
||||
{{ radios(form.postage) }}
|
||||
{{ sticky_page_footer(
|
||||
'Save'
|
||||
) }}
|
||||
</div>
|
||||
<aside class="column-three-quarters">
|
||||
{% include "partials/templates/guidance-postage.html" %}
|
||||
</aside>
|
||||
</div>
|
||||
{% endcall %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user