diff --git a/app/models/form/lettings/questions/location_id_search.rb b/app/models/form/lettings/questions/location_id_search.rb index 7beacd3dd..007468655 100644 --- a/app/models/form/lettings/questions/location_id_search.rb +++ b/app/models/form/lettings/questions/location_id_search.rb @@ -1,8 +1,9 @@ class Form::Lettings::Questions::LocationIdSearch < ::Form::Question def initialize(id, hsh, page) super - @id = "location_id_search" + @id = "location_id" @type = "select" + @hint = I18n.t("forms.#{form.start_date.year}.#{copy_key}.search_hint_text", default: "") @answer_options = answer_options @inferred_answers = { "location.name": { diff --git a/config/locales/forms/2023/lettings/setup.en.yml b/config/locales/forms/2023/lettings/setup.en.yml index 87a2bdfbd..c0a9a41a6 100644 --- a/config/locales/forms/2023/lettings/setup.en.yml +++ b/config/locales/forms/2023/lettings/setup.en.yml @@ -37,12 +37,7 @@ en: page_header: "" check_answer_label: "Location" hint_text: "" - question_text: "Which location is this log for?" - - location_id_search: - page_header: "Location" - check_answer_label: "Location" - hint_text: '