Browse Source

Update label and hint text for privacy notice question

pull/177/head
Paul Robert Lloyd 3 years ago
parent
commit
d7e73d3cba
  1. 2
      app/views/form/_textarea_question.html.erb
  2. 4
      config/forms/2021_2022.json
  3. BIN
      public/files/privacy-notice.pdf

2
app/views/form/_textarea_question.html.erb

@ -1,7 +1,7 @@
<%= f.govuk_text_area question.id.to_sym,
caption: caption && !page_header.present? ? { text: caption.html_safe, size: "l" } : nil,
label: { text: question.header.html_safe, size: !page_header.present? ? "l" : "m", tag: !page_header.present? ? "h1" : "h2" },
hint: { text: question.hint_text },
hint: { text: question.hint_text.html_safe },
width: question.width ? question.width : nil,
**stimulus_html_attributes(question)
%>

4
config/forms/2021_2022.json

@ -15,8 +15,8 @@
"questions": {
"gdpr_acceptance": {
"check_answer_label": "Privacy notice seen",
"header": "Has the tenant or buyer seen the DLUHC privacy notice?",
"hint_text": "",
"header": "Has the tenant or buyer seen the Department for Levelling Up, Housing and Communities (DLUHC) privacy notice?",
"hint_text": "You must <a class=\"govuk-link\" href=\"/files/privacy-notice.pdf\">show the privacy notice</a> to the tenant or buyer before you can use this service.",
"type": "radio",
"answer_options": {
"0": "Yes",

BIN
public/files/privacy-notice.pdf

Binary file not shown.
Loading…
Cancel
Save