Skip to content

Commit 1eba6c6

Browse files
Favour the appHeading macro over hard-coded HTML
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
1 parent 7e54966 commit 1eba6c6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

app/views/book-into-a-clinic/form/check-answers.njk

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
title: title
1313
}) }}
1414

15-
<h2 class="nhsuk-heading-m">
16-
Child details
17-
</h2>
15+
{{ appHeading({
16+
title: "Child details",
17+
level: 2,
18+
size: "m"
19+
}) }}
1820

1921
<dl class="nhsuk-summary-list">
2022
<div class="nhsuk-summary-list__row">

0 commit comments

Comments
 (0)