Browse Source

Include reference to informative text translations copy

pull/2779/head
Rachael Booth 6 months ago
parent
commit
201d804514
  1. 5
      app/models/form/sales/pages/buyer1_income_ecstat_max_value_check.rb
  2. 5
      app/models/form/sales/pages/buyer2_income_ecstat_max_value_check.rb

5
app/models/form/sales/pages/buyer1_income_ecstat_max_value_check.rb

@ -17,7 +17,10 @@ class Form::Sales::Pages::Buyer1IncomeEcstatMaxValueCheck < ::Form::Page
},
],
}
@informative_text = {}
@informative_text = {
"translation" => "forms.#{form.start_date.year}.#{@copy_key}.informative_text",
"arguments" => [],
}
@check_answers_card_number = check_answers_card_number
end

5
app/models/form/sales/pages/buyer2_income_ecstat_max_value_check.rb

@ -17,7 +17,10 @@ class Form::Sales::Pages::Buyer2IncomeEcstatMaxValueCheck < ::Form::Page
},
],
}
@informative_text = {}
@informative_text = {
"translation" => "forms.#{form.start_date.year}.#{@copy_key}.informative_text",
"arguments" => [],
}
@check_answers_card_number = check_answers_card_number
end

Loading…
Cancel
Save