From 5c67e41bab07bb335e05cbb09909ec9473be55fd Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Wed, 18 Mar 2026 16:06:59 +0000 Subject: [PATCH] CLDC-4309: Add copy for staircasing transaction mortgage used --- app/models/form/sales/questions/mortgageused.rb | 6 ++++++ .../forms/2026/sales/sale_information.en.yml | 14 ++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app/models/form/sales/questions/mortgageused.rb b/app/models/form/sales/questions/mortgageused.rb index 67fd900d3..547437d93 100644 --- a/app/models/form/sales/questions/mortgageused.rb +++ b/app/models/form/sales/questions/mortgageused.rb @@ -6,6 +6,12 @@ class Form::Sales::Questions::Mortgageused < ::Form::Question @answer_options = ANSWER_OPTIONS @ownershipsch = ownershipsch @question_number = get_question_number_from_hash(QUESTION_NUMBER_FROM_YEAR_AND_SECTION, value_key: form.start_year_2025_or_later? ? subsection.id : ownershipsch) + sub_copy_key = if subsection.id == "shared_ownership_staircasing_transaction" + "staircase_equity" + else + "non_staircase_equity" + end + @copy_key = "#{form.type}.#{subsection.copy_key}.#{@id}.#{sub_copy_key}" if form.start_year_2026_or_later? @top_guidance_partial = top_guidance_partial end diff --git a/config/locales/forms/2026/sales/sale_information.en.yml b/config/locales/forms/2026/sales/sale_information.en.yml index d41683352..b9c3bc8e9 100644 --- a/config/locales/forms/2026/sales/sale_information.en.yml +++ b/config/locales/forms/2026/sales/sale_information.en.yml @@ -171,10 +171,16 @@ en: mortgageused: page_header: "" - check_answer_label: "Mortgage used" - check_answer_prompt: "Tell us if a mortgage was used" - hint_text: "" - question_text: "Was a mortgage used for the purchase of this property?" + staircase_equity: + check_answer_label: "Mortgage used" + check_answer_prompt: "Tell us if a mortgage was used" + hint_text: "" + question_text: "Was a mortgage used for this staircasing transaction?" + non_staircase_equity: + check_answer_label: "Mortgage used" + check_answer_prompt: "Tell us if a mortgage was used" + hint_text: "" + question_text: "Was a mortgage used for the purchase of this property?" mortgage: page_header: ""