Browse Source

Extract missed hint text

pull/2694/head
Manny Dinssa 8 months ago
parent
commit
39aeaa2e47
  1. 1
      app/models/form/sales/questions/property_wheelchair_accessible.rb
  2. 2
      config/locales/forms/2024/sales/property_information.en.yml

1
app/models/form/sales/questions/property_wheelchair_accessible.rb

@ -6,7 +6,6 @@ class Form::Sales::Questions::PropertyWheelchairAccessible < ::Form::Question
@type = "radio"
@answer_options = ANSWER_OPTIONS
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]
@hint_text = form.start_year_after_2024? ? "This is whether someone who uses a wheelchair is able to make full use of all of the property’s rooms and facilities, including use of both inside and outside space, and entering and exiting the property." : nil
end
ANSWER_OPTIONS = {

2
config/locales/forms/2024/sales/property_information.en.yml

@ -87,5 +87,5 @@ en:
wchair:
page_header: ""
check_answer_label: "Property built or adapted to wheelchair-user standards"
hint_text: ""
hint_text: "This is whether someone who uses a wheelchair is able to make full use of all of the property’s rooms and facilities, including use of both inside and outside space, and entering and exiting the property."
question_text: "Is the property built or adapted to wheelchair-user standards?"

Loading…
Cancel
Save