-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrepeat-list-summary.html
More file actions
63 lines (53 loc) · 1.77 KB
/
repeat-list-summary.html
File metadata and controls
63 lines (53 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{% 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 %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
{% 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 %}
<form method="post" novalidate>
<input type="hidden" name="crumb" value="{{ crumb }}">
<div class="govuk-button-group">
{{ 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 %}
</div>
</form>
</div>
</div>
{% if config.cdpEnvironment == 'local' and context | length and not context.isForceAccess %}
{% include "partials/debug.html" %}
{% endif %}
{% endblock %}