Browse Source

Update some check answers labels and add suffix and prefix to answers

pull/228/head
Kat 4 years ago
parent
commit
1b8f3dac66
  1. 4
      app/views/form/_check_answers_table.html.erb
  2. 4
      config/forms/2021_2022.json

4
app/views/form/_check_answers_table.html.erb

@ -3,7 +3,9 @@
<%= question.check_answer_label.to_s.present? ? question.check_answer_label.to_s : question.header.to_s %>
<dt>
<dd class="govuk-summary-list__value">
<%= question.answer_label(@case_log) %> <br/>
<%= question.prefix.present? ? " " + question.prefix : ""%>
<%= question.answer_label(@case_log) %>
<%= question.suffix.present? ? " " + question.suffix : "" %><br/>
<% question.get_inferred_answers(@case_log).each do |inferred_answer| %>
<span class="govuk-!-font-weight-regular app-!-colour-muted"><%= inferred_answer %></span><br/>
<% end %>

4
config/forms/2021_2022.json

@ -1843,7 +1843,7 @@
"description": "",
"questions": {
"net_income_known": {
"check_answer_label": "Income known",
"check_answer_label": "Household’s combined income after tax",
"header": "Do you know the household’s combined income after tax?",
"guidance_partial": "what_counts_as_income",
"hint_text": "",
@ -1864,7 +1864,7 @@
"description": "",
"questions": {
"earnings": {
"check_answer_label": "Income",
"check_answer_label": "Total household income",
"header": "How much income does the household have in total every week?",
"hint_text": "",
"type": "numeric",

Loading…
Cancel
Save