Browse Source

styling changes

pull/25/head
MadeTech Dushan 3 years ago
parent
commit
199d4b9540
  1. 4
      app/helpers/check_answers_helper.rb

4
app/helpers/check_answers_helper.rb

@ -30,9 +30,9 @@ module CheckAnswersHelper
def display_answered_questions_summary(subsection_pages, case_log) def display_answered_questions_summary(subsection_pages, case_log)
if get_answered_questions_total(subsection_pages, case_log) == get_total_number_of_questions(subsection_pages) if get_answered_questions_total(subsection_pages, case_log) == get_total_number_of_questions(subsection_pages)
"<p>You answered all the questions</p>".html_safe '<p class="govuk-body govuk-!-margin-bottom-7">You answered all the questions</p>'.html_safe
else else
"<p>You answered #{get_answered_questions_total(subsection_pages, case_log)} of #{get_total_number_of_questions(subsection_pages)} questions</p> "<p class=\"govuk-body govuk-!-margin-bottom-7\">You answered #{get_answered_questions_total(subsection_pages, case_log)} of #{get_total_number_of_questions(subsection_pages)} questions</p>
#{create_next_missing_question_link(case_log['id'], subsection_pages, case_log)}".html_safe #{create_next_missing_question_link(case_log['id'], subsection_pages, case_log)}".html_safe
end end
end end

Loading…
Cancel
Save