From 7e5ffe772b205615e24ef47053aedba0b3556fe6 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:51:34 +0000 Subject: [PATCH] Rename question method --- app/components/check_answers_summary_list_card_component.rb | 2 +- app/helpers/check_answers_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/check_answers_summary_list_card_component.rb b/app/components/check_answers_summary_list_card_component.rb index 7fb7f10e4..031bf25b1 100644 --- a/app/components/check_answers_summary_list_card_component.rb +++ b/app/components/check_answers_summary_list_card_component.rb @@ -50,7 +50,7 @@ private if log.creation_method_bulk_upload? && log.bulk_upload.present? && !log.optional_fields.include?(question.id) "You still need to answer this question".html_safe else - govuk_link_to question.summary_error_message, correct_validation_action_href(question, log, nil, @correcting_hard_validation), class: "govuk-link govuk-link--no-visited-state" + govuk_link_to question.check_answer_prompt_message, correct_validation_action_href(question, log, nil, @correcting_hard_validation), class: "govuk-link govuk-link--no-visited-state" end end diff --git a/app/helpers/check_answers_helper.rb b/app/helpers/check_answers_helper.rb index b1c3c0b02..a49fdd1d0 100644 --- a/app/helpers/check_answers_helper.rb +++ b/app/helpers/check_answers_helper.rb @@ -64,7 +64,7 @@ private if log.creation_method_bulk_upload? && log.bulk_upload.present? && !log.optional_fields.include?(question.id) "You still need to answer this question".html_safe else - govuk_link_to question.summary_error_message, unanswered_action_href(question, log), class: "govuk-link govuk-link--no-visited-state" + govuk_link_to question.check_answer_prompt_message, unanswered_action_href(question, log), class: "govuk-link govuk-link--no-visited-state" end end end