Browse Source

CLDC-2439: content change for bulk upload errors WIP

pull/1718/head
Aaron Spencer 3 years ago
parent
commit
31b6e637d3
  1. 13
      app/models/form/lettings/pages/max_rent_value_check.rb
  2. 4
      config/locales/en.yml

13
app/models/form/lettings/pages/max_rent_value_check.rb

@ -12,7 +12,18 @@ class Form::Lettings::Pages::MaxRentValueCheck < ::Form::Page
},
],
}
@informative_text = {}
# @informative_text = {}
@informative_text = {
"translation" => "soft_validations.rent.max_hint_text",
"arguments" => [
{
"key" => "field_formatted_as_currency",
"arguments_for_key" => "soft_max_for_period",
"i18n_template" => "soft_max_for_period",
},
],
}
@check_answers_card_number = check_answers_card_number
end

4
config/locales/en.yml

@ -595,7 +595,9 @@ en:
over_soft_max_for_la_combined: "You told us the combined income of this household is %{combined_income}. This seems high. Are you sure this is correct?"
rent:
outside_range_title: "You told us the rent is %{brent}"
hint_text: "This is %{higher_or_lower} than we would expect. Check:<ul class=\"govuk-body-l app-panel--interruption\"><li>the decimal point</li><li>the frequency, for example every week or every calendar month</li><li>the rent type is correct, for example affordable or social rent</li></ul>"
min_hint_text: "This is lower than we would expect."
max_hint_text: "This is higher than we would expect."
hint_text: "Check the following:<ul class=\"govuk-body-l app-panel--interruption\"><li>the decimal point</li><li>the frequency, for example every week or every calendar month</li><li>the rent type is correct, for example affordable or social rent</li></ul>"
purchase_price:
title_text: "You told us the purchase price is %{value}"
hint_text: "This is %{higher_or_lower} than we would expect"

Loading…
Cancel
Save