Skip to content

Commit e031c6c

Browse files
Add back link
1 parent ec5f083 commit e031c6c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

app/views/_templates/layout-app.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,19 @@
33

44

55
{% block beforeContent %}
6+
{% if not hideBackLink %}
7+
{{ backLink({
8+
href: "javascript:history.back();",
9+
text: "Go back"
10+
}) }}
11+
{% endif %}
612

7-
{{ backLink({
8-
href: "javascript:history.back();",
9-
text: "Go back"
10-
}) }}
1113

1214
{% endblock %}
1315

1416

1517
{% block content %}
18+
{{ data | log }}
1619
<div class="nhsuk-grid-row">
1720
<div class="nhsuk-grid-column-two-thirds">
1821
{% if formAction or isForm %}

0 commit comments

Comments
 (0)