Skip to content

Commit 7856240

Browse files
Updating to latest design
1 parent c3fc933 commit 7856240

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

app/views/design/how-can-we-contact-inputs.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ <h1 class="nhsuk-fieldset__heading">
3939
</h1>
4040
</legend>
4141

42-
<div class="nhsuk-hint" id="contact-hint">
43-
<p>The NHS and your GP surgery can use these details to call, text or email you about health care services. All phone numbers must be registered in the UK.
44-
</div>
42+
<p>The NHS and your GP surgery can use these details to call, text or email you about health care services. All phone numbers must be registered in the UK.</p>
4543

4644
<div class="nhsuk-form-group contact-home-section">
4745
<label class="nhsuk-label" for="contact-home">
@@ -61,9 +59,7 @@ <h1 class="nhsuk-fieldset__heading">
6159
</h1>
6260
</legend>
6361

64-
<div class="nhsuk-hint" id="contact-hint">
65-
<p>The NHS and your GP surgery can use these details to call, text or email you about health care services. All phone numbers must be registered in the UK.
66-
</div>
62+
<p>The NHS and your GP surgery can use these details to call, text or email you about health care services. All phone numbers must be registered in the UK.</p>
6763

6864
<div class="nhsuk-form-group contact-home-section">
6965
<label class="nhsuk-label" for="contact-home">

app/views/live/how-can-we-contact-inputs.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77

88
{% if (data['who-is-being-registered'] === "dependant") %}
99
{% set heading = 'What are the contact details of the person caring for ' + data['name-first-name'] + '?' %}
10-
{% set hintText = 'The NHS and GP surgery can use these details to call, text or email about health care services for the person you are registering.' %}
1110
{% else %}
1211
{% set heading = 'What are your contact details?' %}
13-
{% set hintText = 'The NHS and your GP surgery can use these details to call, text or email you about health care services.' %}
1412
{% endif %}
1513

1614
{% block pageTitle %}
@@ -60,10 +58,11 @@
6058
}
6159
}) %}
6260

63-
{{ hint({
64-
"text": hintText,
65-
"classes": "nhsuk-u-margin-bottom-2"
66-
}) }}
61+
{% if (data['who-is-being-registered'] === "dependant") %}
62+
<p>The NHS and GP surgery can use these details to call, text or email about health care services for the person you are registering.</p>
63+
{% else %}
64+
<p>The NHS and your GP surgery can use these details to call, text or email you about health care services.</p>
65+
{% endif %}
6766

6867
{{ input({
6968
label: {

0 commit comments

Comments
 (0)