Skip to content

Commit

Permalink
Update question copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinssa committed Feb 3, 2025
1 parent 9173382 commit 7dc86f8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions app/models/form/lettings/questions/address_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def initialize(id, hsh, page)
@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)
Expand Down
1 change: 1 addition & 0 deletions app/models/form/sales/questions/address_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def initialize(id, hsh, page)
@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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
Expand Down
4 changes: 2 additions & 2 deletions config/locales/forms/2024/sales/property_information.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
Expand Down
4 changes: 2 additions & 2 deletions config/locales/forms/2025/sales/property_information.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
Expand Down

0 comments on commit 7dc86f8

Please sign in to comment.