From 451e9ca700c263cf8fbcc3efda4320e1644ef83f Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 9 Mar 2022 16:00:22 +0000 Subject: [PATCH] stryling --- app/helpers/interuption_screen_helper.rb | 2 +- app/views/form/page.html.erb | 2 +- config/forms/2021_2022.json | 2 +- config/locales/en.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/interuption_screen_helper.rb b/app/helpers/interuption_screen_helper.rb index e3fc158da..935209804 100644 --- a/app/helpers/interuption_screen_helper.rb +++ b/app/helpers/interuption_screen_helper.rb @@ -11,6 +11,6 @@ module InteruptionScreenHelper rescue StandardError return "" end - translation.html_safe + "

#{translation}

".html_safe end end diff --git a/app/views/form/page.html.erb b/app/views/form/page.html.erb index eb955af05..6caacd593 100644 --- a/app/views/form/page.html.erb +++ b/app/views/form/page.html.erb @@ -16,7 +16,7 @@ <%= turbo_frame_tag "case_log_form", target: "_top" do %> <%= form_with model: @case_log, url: form_case_log_path(@case_log), method: "post" do |f| %>
-
+
> <% remove_other_page_errors(@case_log, @page) %> <%= f.govuk_error_summary %> diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index cb1208e53..c3b2c6d22 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -4578,7 +4578,7 @@ }, "net_income_value_check": { "depends_on": [{ "net_income_soft_validation_triggered?": true }], - "title_text": "Net income is higher than expected based on the main tenant’s working situation", + "title_text": "Net income is outside the expected range based on the main tenant’s working situation", "informative_text": { "translation": "soft_validations.net_income.hint_text", "argument": ["ecstat1", "earnings"] diff --git a/config/locales/en.yml b/config/locales/en.yml index d692fc5fb..66c6c5edd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -144,7 +144,7 @@ en: soft_validations: net_income: - hint_text: "This is based on the tenant’s work situation: %{ecstat1}
The household income you have entered is %{earnings}" + hint_text: "This is based on the tenant’s work situation: %{ecstat1}
The household income you have entered is %{earnings}" in_soft_min_range: message: "Net income is lower than expected based on the main tenant’s working situation. Are you sure this is correct?" in_soft_max_range: