
{% extends "layout.html" %}

{% block pageTitle %}
  Clear data? | GOV.UK Prototype Kit
{% 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?
      </h1>
      {{ govukWarningText({
        text: "This will clear all of the data entered in this session",
        iconFallbackText: "Warning"
      }) }}


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

{% endblock %}


{% extends "layout.html" %}

{% block pageTitle %}
  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">
      <h1 class="govuk-heading-xl">
        Clear data?
      </h1>
      {{ govukWarningText({
        text: "This will clear all of the data entered in this session",
        iconFallbackText: "Warning"
      }) }}


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

{% endblock %}

Update title and put back link before the content
Update title and put back link before the content
