|
|
|
@ -2,11 +2,8 @@ class Form::Sales::Questions::Prevshared < ::Form::Question |
|
|
|
def initialize(id, hsh, page) |
|
|
|
def initialize(id, hsh, page) |
|
|
|
super |
|
|
|
super |
|
|
|
@id = "prevshared" |
|
|
|
@id = "prevshared" |
|
|
|
@check_answer_label = "Previous property shared ownership?" |
|
|
|
|
|
|
|
@header = "Was the previous property under shared ownership?" |
|
|
|
|
|
|
|
@type = "radio" |
|
|
|
@type = "radio" |
|
|
|
@answer_options = ANSWER_OPTIONS |
|
|
|
@answer_options = ANSWER_OPTIONS |
|
|
|
@hint_text = "For any buyer" |
|
|
|
|
|
|
|
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max] |
|
|
|
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max] |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|