diff --git a/templates/look-and-feel/layouts/check_your_answers.html b/templates/look-and-feel/layouts/check_your_answers.html new file mode 100644 index 0000000..d2eec3b --- /dev/null +++ b/templates/look-and-feel/layouts/check_your_answers.html @@ -0,0 +1,46 @@ +{% extends "look-and-feel/layouts/two_thirds.html" %} +{% from "look-and-feel/components/header.njk" import header %} +{% from "look-and-feel/components/check-your-answers.njk" import answer %} + +{% block page_title %}{{ title | default('Check your answers') }}{% endblock %} + +{% block breadcrumbs %} +{{ phaseBanner(phase, feedbackLink) }} +Back +{% endblock %} + + +{% block two_thirds %} + +{{ header(title | default('Check your answers')) }} + +{% if noCompletedQuestions %} +

You have not completed any questions yet.

+{% endif %} + +{% for section in _sections %} + + {% if section.atLeast1Completed %} + {% if section.title %} + {{ header(section.title, size='medium') }} + {% endif %} + +
+ {% for part in section.completedAnswers %} + {% if part.html %} + {{ part.html | safe }} + {% else %} + {{ answer(part.question, part.answer, part.url) }} + {% endif %} + {% endfor %} +
+ {% endif %} + +{% endfor %} + +{% if incomplete %} + Continue your application +{% endif %} + + +{% endblock %}