Browse Source

Update validation message: extra borrowing

pull/1584/head
Kat 3 years ago
parent
commit
20833c241c
  1. 16
      app/models/form/sales/pages/grant_value_check.rb
  2. 3
      config/locales/en.yml

16
app/models/form/sales/pages/grant_value_check.rb

@ -7,8 +7,20 @@ class Form::Sales::Pages::GrantValueCheck < ::Form::Page
"grant_outside_common_range?" => true,
},
]
@title_text = { "translation" => "soft_validations.grant.title_text" }
@informative_text = {}
@title_text = {
"translation" => "soft_validations.grant.title_text",
"arguments" => [
{
"key" => "field_formatted_as_currency",
"arguments_for_key" => "grant",
"i18n_template" => "grant",
},
],
}
@informative_text = {
"translation" => "soft_validations.grant.hint_text",
"arguments" => [],
}
end
def questions

3
config/locales/en.yml

@ -584,7 +584,8 @@ en:
deposit:
title_text: "Are you sure that the deposit is this much higher than the buyer's savings?"
grant:
title_text: "Are you sure? Grants are usually £9,000 - £16,000"
title_text: "You told us that the grant amount is %{grant}"
hint_text: "Loans, grants and subsidies are usually between £9,000 and £16,000."
wheelchair:
title_text: "Are you sure? You said previously that somebody in household uses a wheelchair"
mortgage:

Loading…
Cancel
Save