Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion app/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,21 @@ export const en = {
consultation: {
title:
'Would you like a member of the team to contact you to discuss alternative options?',
hint: 'For example, it may be possible to vaccinate your child in a community clinic.',
hint: {
[ReplyRefusal.AlreadyVaccinated]: false,
[ReplyRefusal.AlreadyVaccinatedMMR]: false,
[ReplyRefusal.Gelatine]:
'For example, it may be possible to use a vaccine that does not contain gelatine.',
[ReplyRefusal.GelatineMMR]:
'For example, it may be possible to use a vaccine that does not contain gelatine.',
[ReplyRefusal.GettingElsewhere]: false,
[ReplyRefusal.Medical]:
'We understand alternatives might not be suitable in some cases.',
[ReplyRefusal.Other]: false,
[ReplyRefusal.OutsideSchool]:
'For example, it may be possible to vaccinate your child in a community clinic.',
[ReplyRefusal.Personal]: false
},
label: 'Discuss options',
yes: 'Yes, I would like someone to contact me',
no: 'No'
Expand Down
5 changes: 2 additions & 3 deletions app/views/parent/form/consultation.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "_layouts/form.njk" %}

{% set title = __("consent.consultation.title") %}
{% set hint = __("consent.consultation.hint." + consent.refusalReason) %}

{% block form %}
{{ radios({
Expand All @@ -12,9 +13,7 @@
})
}
},
hint: {
text: __("consent.consultation.hint")
},
hint: { text: hint } if hint,
items: [{
text: __("consent.consultation.yes"),
value: true
Expand Down