{% extends "layout.njk" %}
{% from "button/macro.njk" import govukButton %}
{% from "panel/macro.njk" import govukPanel %}
{% from "fieldset/macro.njk" import govukFieldset %}

{% block content %}
<div class="govuk-grid-row">
    <div class="govuk-grid-column-two-thirds">

        <form method="post" novalidate>
            {% call govukFieldset({}) %}

              {{ govukPanel({
                titleText: "Application sent",
                html: 'Your reference number<br><strong>' + data.currentApplication.applicationReferenceNumber + '</strong>'
              }) }}

              <h2 class="govuk-heading-m">What happens next</h2>

              <p class="govuk-body">
                Natural England will review your application. You may be contacted to give more information to support your application.
              </p>

               {{ govukButton({
                  attributes: { id: "continue" },
                  preventDoubleClick: true,
                  name: 'continue',
                  text: 'View applications',
                  classes: "govuk-!-margin-top-5"
               }) }}

              <p class="govuk-body">
                <a href="/feedback" class="govuk-link" target="_blank">What did you think of this service? (opens in a new tab)</a> (takes 30 seconds)
              </p>

               <input type="hidden" name="crumb" value="{{crumb}}"/>
            {% endcall %}
        </form>
    </div>
</div>
{% endblock %}
