Browse Source

Incfreq doesn't have it's own check answers display

pull/273/head
baarkerlounger 3 years ago committed by MadeTech Dushan
parent
commit
ce533d3597
  1. 3
      app/views/form/_check_answers_table.html.erb
  2. 3
      config/forms/2021_2022.json

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

@ -1,5 +1,3 @@
<% unless question.id == "incfreq" %>
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
<%= question.check_answer_label.to_s.present? ? question.check_answer_label.to_s : question.header.to_s %>
@ -14,4 +12,3 @@
<%= govuk_link_to(question.update_answer_link_name(@case_log), "/logs/#{@case_log.id}/#{question.page.id.to_s.dasherize}").html_safe %>
</dd>
</div>
<% end %>

3
config/forms/2021_2022.json

@ -2336,7 +2336,8 @@
"0": "Weekly",
"1": "Monthly",
"2": "Yearly"
}
},
"hidden_in_check_answers": true
}
},
"soft_validations": {

Loading…
Cancel
Save