From 6b9f0675d162a22d510bdd0c5854dfb9ceb9f506 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Wed, 30 Jan 2019 16:28:55 +0000 Subject: [PATCH] Change styling of 'back to template' link on edit template postage page --- app/templates/partials/templates/guidance-postage.html | 3 +-- app/templates/views/templates/edit-template-postage.html | 8 +++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/templates/partials/templates/guidance-postage.html b/app/templates/partials/templates/guidance-postage.html index 826bf193c..a428b0a82 100644 --- a/app/templates/partials/templates/guidance-postage.html +++ b/app/templates/partials/templates/guidance-postage.html @@ -10,7 +10,6 @@

Royal Mail delivers from Monday to Saturday, excluding bank holidays.

- See a list of postage prices.

- Back to template + See a list of postage prices.

diff --git a/app/templates/views/templates/edit-template-postage.html b/app/templates/views/templates/edit-template-postage.html index 3dd69457c..ab23e43c5 100644 --- a/app/templates/views/templates/edit-template-postage.html +++ b/app/templates/views/templates/edit-template-postage.html @@ -1,5 +1,5 @@ {% 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/form.html" import form_wrapper %} @@ -16,8 +16,10 @@
{{ radios(form.postage) }} - {{ sticky_page_footer( - 'Save' + {{ page_footer( + 'Save', + back_link=url_for('.view_template', service_id=service_id, template_id=template_id), + back_link_text='Back to template' ) }}