Change styling of 'back to template' link on edit template postage page

This commit is contained in:
Pea Tyczynska
2019-01-30 16:28:55 +00:00
parent 29a860cf96
commit 6b9f0675d1
2 changed files with 6 additions and 5 deletions

View File

@@ -10,7 +10,6 @@
<p> <p>
Royal Mail delivers from Monday to Saturday, excluding bank holidays. Royal Mail delivers from Monday to Saturday, excluding bank holidays.
</p> </p>
See a list of <a href="{{ url_for('.pricing') + '#letters'}}">postage prices</a>.
<p> <p>
<a href="{{ url_for('.view_template', service_id=service_id, template_id=template_id) }}">Back to template</a> See a list of <a href="{{ url_for('.pricing') + '#letters'}}">postage prices</a>.
</p> </p>

View File

@@ -1,5 +1,5 @@
{% extends "withnav_template.html" %} {% extends "withnav_template.html" %}
{% from "components/page-footer.html" import sticky_page_footer %} {% from "components/page-footer.html" import page_footer %}
{% from "components/radios.html" import radios %} {% from "components/radios.html" import radios %}
{% from "components/form.html" import form_wrapper %} {% from "components/form.html" import form_wrapper %}
@@ -16,8 +16,10 @@
<div class="grid-row"> <div class="grid-row">
<div class="column-five-sixths"> <div class="column-five-sixths">
{{ radios(form.postage) }} {{ radios(form.postage) }}
{{ sticky_page_footer( {{ page_footer(
'Save' 'Save',
back_link=url_for('.view_template', service_id=service_id, template_id=template_id),
back_link_text='Back to template'
) }} ) }}
</div> </div>
<aside class="column-three-quarters"> <aside class="column-three-quarters">