Browse Source

Update question copy

CLDC-3787-Autocomplete-address-search
Manny Dinssa 2 weeks ago
parent
commit
7dc86f8600
  1. 1
      app/models/form/lettings/questions/address_search.rb
  2. 1
      app/models/form/sales/questions/address_search.rb
  3. 4
      config/locales/forms/2024/lettings/property_information.en.yml
  4. 4
      config/locales/forms/2024/sales/property_information.en.yml
  5. 4
      config/locales/forms/2025/lettings/property_information.en.yml
  6. 4
      config/locales/forms/2025/sales/property_information.en.yml

1
app/models/form/lettings/questions/address_search.rb

@ -6,6 +6,7 @@ class Form::Lettings::Questions::AddressSearch < ::Form::Question
@plain_label = true
@bottom_guidance_partial = "address_search"
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]
@hide_question_number_on_page = true
end
def answer_options(log = nil, _user = nil)

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

@ -6,6 +6,7 @@ class Form::Sales::Questions::AddressSearch < ::Form::Question
@plain_label = true
@bottom_guidance_partial = "address_search"
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]
@hide_question_number_on_page = true
end
def answer_options(log = nil, _user = nil)

4
config/locales/forms/2024/lettings/property_information.en.yml

@ -53,9 +53,9 @@ en:
address_search:
page_header: "Find address"
check_answer_label: "Address"
check_answer_prompt: "Search for address or UPRN"
check_answer_prompt: "Search by address or UPRN"
hint_text: "For example, '1 Victoria Road' or '10010457355'"
question_text: "Enter the address or UPRN to search"
question_text: "Search by address or UPRN"
address:
page_header: "Q12 - What is the property's address?"

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

@ -46,9 +46,9 @@ en:
address_search:
page_header: "Find address"
check_answer_label: "Address"
check_answer_prompt: "Search for address or UPRN"
check_answer_prompt: "Search by address or UPRN"
hint_text: "For example, '1 Victoria Road' or '10010457355'"
question_text: "Enter the address or UPRN to search"
question_text: "Search by address or UPRN"
address:
page_header: "Q12 - What is the property's address?"

4
config/locales/forms/2025/lettings/property_information.en.yml

@ -53,9 +53,9 @@ en:
address_search:
page_header: "Find address"
check_answer_label: "Address"
check_answer_prompt: "Search for address or UPRN"
check_answer_prompt: "Search by address or UPRN"
hint_text: "For example, '1 Victoria Road' or '10010457355'"
question_text: "Enter the address or UPRN to search"
question_text: "Search by address or UPRN"
address:
page_header: "Q12 - What is the property's address?"

4
config/locales/forms/2025/sales/property_information.en.yml

@ -46,9 +46,9 @@ en:
address_search:
page_header: "Find address"
check_answer_label: "Address"
check_answer_prompt: "Search for address or UPRN"
check_answer_prompt: "Search by address or UPRN"
hint_text: "For example, '1 Victoria Road' or '10010457355'"
question_text: "Enter the address or UPRN to search"
question_text: "Search by address or UPRN"
address:
page_header: "Q12 - What is the property's address?"

Loading…
Cancel
Save