Submit social housing lettings and sales data (CORE)
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.
|
|
|
class Form::Sales::Pages::MortgageLender < ::Form::Page
|
|
|
|
def initialize(id, hsh, subsection, question_number)
|
|
|
|
super(id, hsh, subsection)
|
|
|
|
@header = ""
|
|
|
|
@description = ""
|
|
|
|
@subsection = subsection
|
|
|
|
@depends_on = [{
|
|
|
|
"mortgageused" => 1,
|
|
|
|
}]
|
|
|
|
@question_number = question_number
|
|
|
|
end
|
|
|
|
|
|
|
|
def questions
|
|
|
|
@questions ||= [
|
|
|
|
Form::Sales::Questions::MortgageLender.new(nil, nil, self, question_number: @question_number),
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|