Skip to content

Commit

Permalink
Update title and put back link before the content
Browse files Browse the repository at this point in the history
  • Loading branch information
neves-io authored and 36degrees committed Sep 6, 2018
1 parent 67083a2 commit 306102a
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions lib/prototype-admin/clears-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
Clear data? | GOV.UK Prototype Kit
{% endblock %}

{% block beforeContent %}
{{ govukBackLink({
"text": "Back",
"href": "javascript: window.history.go(-1)"
})
}}
{% endblock %}

{% block content %}

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
{{ govukBackLink({
"text": "Back",
"href": "javascript: window.history.go(-1)"
})
}}

<h1 class="govuk-heading-xl">
Are you sure?
Clear data?
</h1>
{{ govukWarningText({
text: "This will clear all of the data entered in this session",
Expand All @@ -25,7 +27,7 @@ <h1 class="govuk-heading-xl">


{{ govukButton({
text: "Clear data",
text: "Clear the data",
href: "/prototype-admin/clear-data"
}) }}
</div>
Expand Down

0 comments on commit 306102a

Please sign in to comment.