diff --git a/app/models/form/lettings/pages/property_major_repairs_value_check.rb b/app/models/form/lettings/pages/property_major_repairs_value_check.rb index bd20bfe5a..08672aff6 100644 --- a/app/models/form/lettings/pages/property_major_repairs_value_check.rb +++ b/app/models/form/lettings/pages/property_major_repairs_value_check.rb @@ -4,7 +4,10 @@ class Form::Lettings::Pages::PropertyMajorRepairsValueCheck < ::Form::Page @id = "property_major_repairs_value_check" @depends_on = [{ "major_repairs_date_in_soft_range?" => true }] @title_text = { "translation" => "soft_validations.major_repairs_date.title_text" } - @informative_text = {} + @informative_text = { + "translation" => "soft_validations.major_repairs_date.hint_text", + "arguments" => [], + } end def questions diff --git a/app/models/form/lettings/pages/void_date_value_check.rb b/app/models/form/lettings/pages/void_date_value_check.rb index 77c3f7b04..6ebd3a175 100644 --- a/app/models/form/lettings/pages/void_date_value_check.rb +++ b/app/models/form/lettings/pages/void_date_value_check.rb @@ -4,7 +4,10 @@ class Form::Lettings::Pages::VoidDateValueCheck < ::Form::Page @id = "void_date_value_check" @depends_on = [{ "voiddate_in_soft_range?" => true }] @title_text = { "translation" => "soft_validations.void_date.title_text" } - @informative_text = {} + @informative_text = { + "translation" => "soft_validations.void_date.hint_text", + "arguments" => [], + } end def questions diff --git a/app/views/form/_interruption_screen_question.html.erb b/app/views/form/_interruption_screen_question.html.erb index 6bfd482e2..a37254d1e 100644 --- a/app/views/form/_interruption_screen_question.html.erb +++ b/app/views/form/_interruption_screen_question.html.erb @@ -1,7 +1,7 @@ <%= render partial: "form/interruption_screen_banner", locals: { question:, title_text:, informative_text:, lettings_log: } %>

- Make sure these answers are all correct + Make sure these answers are correct:

diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index b979ff960..99a20165c 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -789,7 +789,10 @@ "title_text": { "translation": "soft_validations.void_date.title_text" }, - "informative_text": {}, + "informative_text": { + "translation": "soft_validations.void_date.hint_text", + "arguments": [] + }, "questions": { "void_date_value_check": { "check_answer_label": "Void date confirmation", @@ -899,7 +902,10 @@ "title_text": { "translation": "soft_validations.major_repairs_date.title_text" }, - "informative_text": {}, + "informative_text": { + "translation": "soft_validations.major_repairs_date.hint_text", + "arguments": [] + }, "questions": { "major_repairs_date_value_check": { "check_answer_label": "Major repairs date confirmation", diff --git a/config/locales/en.yml b/config/locales/en.yml index 6ff50c006..61fa6f61d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -547,9 +547,11 @@ en: no_females: "You also told us there are no female tenants living at the property." females_not_in_soft_age_range: "You also told us that any female tenants living at the property are in the following age ranges:" major_repairs_date: - title_text: "You told us the time between the start of the tenancy and the major repairs completion date is more than 2 years" + title_text: "You told us the property has been vacant for 2 years." + hint_text: "This is higher than we would expect." void_date: - title_text: "You told us the time between the start of the tenancy and the void date is more than 2 years" + title_text: "You told us that the property has been vacant for more than 2 years." + hint_text: "This is higher than we would expect." shared_ownership_deposit: title_text: "Mortgage, deposit and cash discount total should equal %{expected_shared_ownership_deposit_value}" old_persons_shared_ownership: "At least one buyer should be aged over 64 for Older persons’ shared ownership scheme"