diff --git a/app/models/form/lettings/pages/new_build_handover_date.rb b/app/models/form/lettings/pages/new_build_handover_date.rb index f0eadeabe..6baf96f94 100644 --- a/app/models/form/lettings/pages/new_build_handover_date.rb +++ b/app/models/form/lettings/pages/new_build_handover_date.rb @@ -8,6 +8,6 @@ class Form::Lettings::Pages::NewBuildHandoverDate < ::Form::Page end def questions - @questions ||= [Form::Lettings::Questions::Voiddate.new(nil, nil, self)] + @questions ||= [Form::Lettings::Questions::VoiddateNewBuild.new(nil, nil, self)] end end diff --git a/app/models/form/lettings/questions/voiddate.rb b/app/models/form/lettings/questions/voiddate.rb index 266333d6a..843191660 100644 --- a/app/models/form/lettings/questions/voiddate.rb +++ b/app/models/form/lettings/questions/voiddate.rb @@ -2,10 +2,10 @@ class Form::Lettings::Questions::Voiddate < ::Form::Question def initialize(id, hsh, page) super @id = "voiddate" - @check_answer_label = "New-build handover date" - @header = "What is the new-build handover date?" + @check_answer_label = "Void or renewal date" + @header = "What is the void or renewal date?" @type = "date" @check_answers_card_number = 0 - @hint_text = "" + @hint_text = "For example, 27 3 2021." end end diff --git a/app/models/form/lettings/questions/voiddate_new_build.rb b/app/models/form/lettings/questions/voiddate_new_build.rb new file mode 100644 index 000000000..9cda12522 --- /dev/null +++ b/app/models/form/lettings/questions/voiddate_new_build.rb @@ -0,0 +1,11 @@ +class Form::Lettings::Questions::VoiddateNewBuild < ::Form::Question + def initialize(id, hsh, page) + super + @id = "voiddate" + @check_answer_label = "New-build handover date" + @header = "What is the new-build handover date?" + @type = "date" + @check_answers_card_number = 0 + @hint_text = "" + end +end