From 6af38af47c0249b7c31a0d91bb617c812f76c897 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:40:05 +0100 Subject: [PATCH] Keep existing header and check answer label for about price value check, common to other subsections --- app/models/form/sales/questions/about_price_value_check.rb | 3 ++- config/locales/forms/2023/sales/property.en.yml | 6 ------ config/locales/forms/2024/sales/property.en.yml | 6 ------ 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/app/models/form/sales/questions/about_price_value_check.rb b/app/models/form/sales/questions/about_price_value_check.rb index a09bf25d4..2b51cd7fb 100644 --- a/app/models/form/sales/questions/about_price_value_check.rb +++ b/app/models/form/sales/questions/about_price_value_check.rb @@ -2,7 +2,8 @@ class Form::Sales::Questions::AboutPriceValueCheck < ::Form::Question def initialize(id, hsh, page) super @id = "value_value_check" - @copy_key = "sales.property.value_value_check" + @check_answer_label = "Purchase price confirmation" + @header = "Are you sure?" @type = "interruption_screen" @answer_options = { "0" => { "value" => "Yes" }, diff --git a/config/locales/forms/2023/sales/property.en.yml b/config/locales/forms/2023/sales/property.en.yml index 6c412f62e..4f48c11a7 100644 --- a/config/locales/forms/2023/sales/property.en.yml +++ b/config/locales/forms/2023/sales/property.en.yml @@ -68,12 +68,6 @@ en: hint_text: "" question_text: "Are you sure this is correct?" - value_value_check: - page_header: "" - check_answer_label: "Purchase price confirmation" - hint_text: "" - question_text: "Are you sure?" - beds: page_header: "" check_answer_label: "Number of bedrooms" diff --git a/config/locales/forms/2024/sales/property.en.yml b/config/locales/forms/2024/sales/property.en.yml index 1e145c725..ce3c1f41e 100644 --- a/config/locales/forms/2024/sales/property.en.yml +++ b/config/locales/forms/2024/sales/property.en.yml @@ -91,12 +91,6 @@ en: hint_text: "" question_text: "Are you sure this is correct?" - value_value_check: - page_header: "" - check_answer_label: "Purchase price confirmation" - hint_text: "" - question_text: "Are you sure?" - beds: page_header: "" check_answer_label: "Number of bedrooms"