You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
857 B
23 lines
857 B
2 years ago
|
class Form::Lettings::Questions::StarterTenancy < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "tenancy"
|
||
|
@check_answer_label = "Type of main tenancy after the starter period has ended?"
|
||
|
@header = "What is the type of tenancy after the starter period has ended?"
|
||
|
@type = "radio"
|
||
|
@check_answers_card_number = 0
|
||
|
@hint_text = "This is also known as an ‘introductory period’."
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
@conditional_for = { "tenancyother" => [3] }
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"4" => { "value" => "Assured Shorthold Tenancy (AST) – Fixed term" },
|
||
|
"6" => { "value" => "Secure – fixed term" },
|
||
|
"2" => { "value" => "Assured – lifetime" },
|
||
|
"7" => { "value" => "Secure – lifetime" },
|
||
|
"5" => { "value" => "Licence agreement" },
|
||
|
"3" => { "value" => "Other" },
|
||
|
}.freeze
|
||
|
end
|