5 changed files with 14 additions and 51 deletions
@ -1,11 +0,0 @@ |
|||||||
class Form::Lettings::Pages::NewBuildHandoverDate < ::Form::Page |
|
||||||
def initialize(id, hsh, subsection) |
|
||||||
super |
|
||||||
@id = "new_build_handover_date" |
|
||||||
@depends_on = [{ "is_renewal?" => false, "has_first_let_vacancy_reason?" => true }] |
|
||||||
end |
|
||||||
|
|
||||||
def questions |
|
||||||
@questions ||= [Form::Lettings::Questions::VoiddateNewBuild.new(nil, nil, self)] |
|
||||||
end |
|
||||||
end |
|
||||||
@ -1,12 +0,0 @@ |
|||||||
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 = "" |
|
||||||
@question_number = 23 |
|
||||||
end |
|
||||||
end |
|
||||||
Loading…
Reference in new issue