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.
18 lines
415 B
18 lines
415 B
2 years ago
|
class Form::Sales::Pages::AboutPriceRtb < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "about_price_rtb"
|
||
|
@header = "About the price of the property"
|
||
|
@depends_on = [{
|
||
|
"right_to_buy?" => true,
|
||
|
}]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Sales::Questions::Value.new(nil, nil, self),
|
||
|
Form::Sales::Questions::Discount.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|