Browse Source

Add page header to monthly rent only for the version with two questions on the page

pull/2788/head
Manny Dinssa 7 months ago
parent
commit
ea39ac6856
  1. 1
      app/models/form/sales/pages/monthly_rent_staircasing_owned.rb
  2. 1
      config/locales/forms/2025/sales/sale_information.en.yml

1
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,
}]

1
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"

Loading…
Cancel
Save