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.
20 lines
480 B
20 lines
480 B
2 years ago
|
class Form::Sales::Pages::AboutStaircase < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "about_staircasing"
|
||
|
@header = "About the staircasing transaction"
|
||
|
@description = ""
|
||
|
@subsection = subsection
|
||
|
@depends_on = [{
|
||
|
"staircase" => 1,
|
||
|
}]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Sales::Questions::StaircaseBought.new(nil, nil, self),
|
||
|
Form::Sales::Questions::StaircaseOwned.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|