From 92b2ff1bf4872f55b08b011c3846ce1ee34d903b Mon Sep 17 00:00:00 2001 From: George Goodall Date: Tue, 15 Oct 2024 14:53:06 +0100 Subject: [PATCH] add back button to issue details --- src/views/organisations/issueDetails.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/organisations/issueDetails.html b/src/views/organisations/issueDetails.html index 2d11fa9b..cfd30252 100644 --- a/src/views/organisations/issueDetails.html +++ b/src/views/organisations/issueDetails.html @@ -4,6 +4,7 @@ {% from "govuk/components/summary-list/macro.njk" import govukSummaryList %} {% from "govuk/components/pagination/macro.njk" import govukPagination %} {% from "govuk/components/breadcrumbs/macro.njk" import govukBreadcrumbs %} +{% from "govuk/components/back-link/macro.njk" import govukBackLink %} {% set serviceType = 'Submit'%} @@ -61,6 +62,11 @@ errorList: errorSummary.items }) }} + {{ govukBackLink({ + text: "Back", + href: '/organisations/' + organisation.organisation + '/' + dataset.dataset + '/' + issueType + '/' + issueField + }) }} + {% if entry.geometries and entry.geometries.length %}