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.
24 lines
726 B
24 lines
726 B
10 months ago
|
class Form::Lettings::Pages::ReasonotherValueCheck < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "reasonother_value_check"
|
||
|
@depends_on = [{ "reasonother_might_be_existing_category?" => true }]
|
||
|
@title_text = {
|
||
|
"translation" => "soft_validations.reasonother.title_text",
|
||
|
"arguments" => [{ "key" => "reasonother", "i18n_template" => "reasonother" }],
|
||
|
}
|
||
|
@informative_text = {
|
||
|
"translation" => "soft_validations.reasonother.informative_text",
|
||
|
"arguments" => [],
|
||
|
}
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [Form::Lettings::Questions::ReasonotherValueCheck.new(nil, nil, self)]
|
||
|
end
|
||
|
|
||
|
def interruption_screen_question_ids
|
||
|
%w[reason reasonother]
|
||
|
end
|
||
|
end
|