{% 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: "Report of action sent",
                html: 'Your reference number<br><strong>' + data.returnReferenceNumber + '</strong>'
              }) }}

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

              {% if data.nilReturn %}
                <p class="govuk-body">
                  Natural England will review your report of action.
                </p>              
              {% else %}
              <p class="govuk-body">
                Natural England will review your report of action. You may be contacted to give more information to support your report of action.
              </p>
              {% endif %}

               {{ govukButton({
                  attributes: { id: "continue" },
                  preventDoubleClick: true,
                  name: 'continue',
                  text: 'View licences and applications',
                  classes: "govuk-!-margin-top-5"
               }) }}
               <input type="hidden" name="crumb" value="{{crumb}}"/>
            {% endcall %}
        </form>
    </div>
</div>
{% endblock %}
