From ea39ac68566cec2f38b038d786a22cc1aec6676d Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:45:22 +0000 Subject: [PATCH] Add page header to monthly rent only for the version with two questions on the page --- app/models/form/sales/pages/monthly_rent_staircasing_owned.rb | 1 + config/locales/forms/2025/sales/sale_information.en.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/models/form/sales/pages/monthly_rent_staircasing_owned.rb b/app/models/form/sales/pages/monthly_rent_staircasing_owned.rb index 38f44c8d1..b772d129f 100644 --- a/app/models/form/sales/pages/monthly_rent_staircasing_owned.rb +++ b/app/models/form/sales/pages/monthly_rent_staircasing_owned.rb @@ -3,6 +3,7 @@ class Form::Sales::Pages::MonthlyRentStaircasingOwned < ::Form::Page super @id = "monthly_rent_staircasing_owned" @copy_key = "sales.sale_information.mrent_staircasing" + @header = "" @depends_on = [{ "stairowned_100?" => true, }] diff --git a/config/locales/forms/2025/sales/sale_information.en.yml b/config/locales/forms/2025/sales/sale_information.en.yml index 7ea0010ad..bf4db868a 100644 --- a/config/locales/forms/2025/sales/sale_information.en.yml +++ b/config/locales/forms/2025/sales/sale_information.en.yml @@ -194,6 +194,7 @@ en: question_text: "What is the basic monthly rent?" mrent_staircasing: + page_header: "Monthly rent" prestaircasing: check_answer_label: "Monthly rent prior to staircasing" hint_text: "Amount paid before any charges"