-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e577fd
commit fde4b9b
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) }} | ||
<a class="link-back" href="#" onclick="history.go(-1); return false;">Back</a> | ||
{% endblock %} | ||
|
||
|
||
{% block two_thirds %} | ||
|
||
{{ header(title | default('Check your answers')) }} | ||
|
||
{% if noCompletedQuestions %} | ||
<p>You have not completed any questions yet.</p> | ||
{% endif %} | ||
|
||
{% for section in _sections %} | ||
|
||
{% if section.atLeast1Completed %} | ||
{% if section.title %} | ||
{{ header(section.title, size='medium') }} | ||
{% endif %} | ||
|
||
<dl class="govuk-check-your-answers cya-questions-short"> | ||
{% for part in section.completedAnswers %} | ||
{% if part.html %} | ||
{{ part.html | safe }} | ||
{% else %} | ||
{{ answer(part.question, part.answer, part.url) }} | ||
{% endif %} | ||
{% endfor %} | ||
</dl> | ||
{% endif %} | ||
|
||
{% endfor %} | ||
|
||
{% if incomplete %} | ||
<a href="{{ continueUrl }}" class="button">Continue your application</a> | ||
{% endif %} | ||
|
||
|
||
{% endblock %} |