44
55{% set pageHeading = "Medical information" %}
66
7- {% set gridColumn = "nhsuk-grid-column-full " %}
7+ {% set gridColumn = "nhsuk-grid-column-two-thirds " %}
88
99{% set formAction = './imaging' %}
1010
1414} %}
1515 #}
1616
17+ {% macro makeRow(params) %}
18+ < h3 > {{ params.title }}</ h3 >
19+
20+ < p > {{params.content}}</ p >
21+
22+ < p > < a href ="# "> Provide details</ a > </ p >
23+
24+ {% endmacro %}
25+
1726
1827{% block pageContent %}
1928
@@ -55,46 +64,9 @@ <h1 class="nhsuk-heading-l">
5564
5665 {% endif %}
5766
58- {# {{ taskList({
59- idPrefix: "your-health",
60- items: [
61- {
62- title: {
63- text: "History of breast cancer"
64- },
65- href: "#",
66- status: taskStatus
67- },
68- {
69- title: {
70- text: "Other breast diagnosis or proceedures"
71- },
72- href: "#",
73- status: taskStatus
74- },
75- {
76- title: {
77- text: "Scars"
78- },
79- href: "#",
80- status: taskStatus
81- },
82- {
83- title: {
84- text: "Current health status"
85- },
86- href: "#",
87- status: taskStatus
88- },
89- {
90- title: {
91- text: "Breast symptoms"
92- },
93- href: "#",
94- status: taskStatus
95- }
96- ]
97- }) }} #}
67+ {# {{ makeRow({
68+ title: "Breast implants"
69+ })}} #}
9870
9971 {{ summaryList({
10072 rows: [
@@ -117,10 +89,12 @@ <h1 class="nhsuk-heading-l">
11789 },
11890 {
11991 key: {
120- text: "Implanted medical devices and pacemakers"
92+ text: "Implanted medical devices and pacemakers",
93+ classes: "nhsuk-u-width-one-half"
12194 },
12295 value: {
123- html: valueHtml
96+ html: valueHtml,
97+ classes: "nhsuk-u-width-one-half"
12498 },
12599 actions: {
126100 items: [
@@ -148,7 +122,7 @@ <h1 class="nhsuk-heading-l">
148122 }
149123 ]
150124 }
151- },
125+ } if false ,
152126 {
153127 key: {
154128 text: "Pregnancy and breastfeeding"
@@ -202,7 +176,7 @@ <h1 class="nhsuk-heading-l">
202176 },
203177 {
204178 key: {
205- text: "Scars"
179+ text: "Scars and other visual features "
206180 },
207181 value: {
208182 html: valueHtml
@@ -234,6 +208,23 @@ <h1 class="nhsuk-heading-l">
234208 ]
235209 }
236210 },
211+ {
212+ key: {
213+ text: "Hormone replacement therapy (HRT)"
214+ },
215+ value: {
216+ html: valueHtml
217+ },
218+ actions: {
219+ items: [
220+ {
221+ href: "#",
222+ text: "Change",
223+ visuallyHiddenText: "contact details"
224+ }
225+ ]
226+ }
227+ },
237228 {
238229 key: {
239230 text: "Breast symptoms"
@@ -274,7 +265,7 @@ <h1 class="nhsuk-heading-l">
274265 {% if query.taskStatus !== 'complete' %}
275266 < div class ="nhsuk-form-group ">
276267 {{ button({
277- text: "Answer incomplete as 'No' / 'None'",
268+ text: "Answer all incomplete as 'No' / 'None'",
278269 classes: "nhsuk-button--secondary",
279270 href: "./medical-information?taskStatus=complete"
280271 }) }}
0 commit comments