Skip to content

Commit

Permalink
add back button to issue details
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGoodall committed Oct 15, 2024
1 parent 31842bd commit 92b2ff1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/organisations/issueDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -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'%}

Expand Down Expand Up @@ -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 %}
<div
id="map"
Expand Down

0 comments on commit 92b2ff1

Please sign in to comment.