diff --git a/app/models/form/sales/pages/about_price_shared_ownership_value_check.rb b/app/models/form/sales/pages/about_price_shared_ownership_value_check.rb deleted file mode 100644 index f4f0955cd..000000000 --- a/app/models/form/sales/pages/about_price_shared_ownership_value_check.rb +++ /dev/null @@ -1,42 +0,0 @@ -class Form::Sales::Pages::AboutPriceSharedOwnershipValueCheck < ::Form::Page - def initialize(id, hsh, subsection) - super - @depends_on = [ - { - "purchase_price_out_of_soft_range?" => true, - }, - ] - @title_text = { - "translation" => "soft_validations.purchase_price.title_text", - "arguments" => [ - { - "key" => "value", - "label" => true, - "i18n_template" => "value", - }, - ], - } - @informative_text = { - "translation" => "soft_validations.purchase_price.hint_text", - "arguments" => [ - { - "key" => "purchase_price_soft_min_or_soft_max", - "label" => false, - "i18n_template" => "soft_min_or_soft_max", - "currency" => true, - }, - { - "key" => "purchase_price_min_or_max_text", - "label" => false, - "i18n_template" => "min_or_max", - }, - ], - } - end - - def questions - @questions ||= [ - Form::Sales::Questions::AboutPriceSharedOwnershipValueCheck.new(nil, nil, self), - ] - end -end diff --git a/app/models/form/sales/questions/about_price_shared_ownership_value_check.rb b/app/models/form/sales/questions/about_price_shared_ownership_value_check.rb deleted file mode 100644 index 6758b68a3..000000000 --- a/app/models/form/sales/questions/about_price_shared_ownership_value_check.rb +++ /dev/null @@ -1,23 +0,0 @@ -class Form::Sales::Questions::AboutPriceSharedOwnershipValueCheck < ::Form::Question - def initialize(id, hsh, page) - super - @id = "value_value_check" - @check_answer_label = "Purchase price confirmation" - @header = "Are you sure?" - @type = "interruption_screen" - @answer_options = { - "0" => { "value" => "Yes" }, - "1" => { "value" => "No" }, - } - @hidden_in_check_answers = { - "depends_on" => [ - { - "value_value_check" => 0, - }, - { - "value_value_check" => 1, - }, - ], - } - end -end