{% extends baseLayoutPath %} {% from "govuk/components/error-summary/macro.njk" import govukErrorSummary %} {% from "govuk/components/button/macro.njk" import govukButton %} {% from "govuk/components/summary-list/macro.njk" import govukSummaryList %} {% block content %}
{% if previewMode %} {% include "partials/preview-banner.html" %} {% endif %} {% if errors %} {{ govukErrorSummary({ titleText: "There is a problem", errorList: errors }) }} {% endif %} {% include "partials/heading.html" %} {% for section in checkAnswers %} {{ govukSummaryList(section.summaryList) }} {% endfor %}
{{ govukButton({ text: "Continue", name: "action", value: "continue", preventDoubleClick: true }) }} {{ govukButton({ text: "Add another", name: "action", value: "add-another", classes: "govuk-button--secondary", preventDoubleClick: true }) }} {% if allowSaveAndExit %} {{ govukButton({ text: "Save and exit", classes: "govuk-button--secondary", name: "action", value: "save-and-exit", preventDoubleClick: true }) }} {% endif %}
{% if config.cdpEnvironment == 'local' and context | length and not context.isForceAccess %} {% include "partials/debug.html" %} {% endif %} {% endblock %}