diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_0_desktop.png index 6a4d28cc75..5a2eaee28f 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_0_desktop.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_0_desktop.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:af622183ddbfe7a290a752cfac8a84a55a56d3e0fca258adaffed6c343d2893d -size 70541 +oid sha256:ca048a3ec0f09f844f995a91ea4e25fa81d1f6fc8548c87d0262d91bc5df0a16 +size 68479 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_1_tablet.png index d05dcb9476..cd9c0bd904 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_1_tablet.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_1_tablet.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77998ab798c3466b998999292c343eeebcaa326b995f19da141d1c297be812e8 -size 63188 +oid sha256:bd0d1145636c85aaf164b6ce4f13f7dc0dd5c9a8c5ffe9782166de956a46ef93 +size 61954 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_2_mobile.png index da32217e48..355cbf55f4 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_2_mobile.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code-error_0_document_2_mobile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d12d403812e2ff6987deba9b40b6ae4aa3c7d3181ec3010cf050b1f40c0e523 -size 67828 +oid sha256:41ac5eee4c098930ce724584017d1ded63c97ed0d31ec2e43c8e7cf3e5e3e1e3 +size 67838 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_0_desktop.png index bf23dc3042..02b7a09aac 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_0_desktop.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_0_desktop.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6b23430717f1c2a4f55b61b9ec248413420c26457026f9ee65f4010cd65bff59 -size 61563 +oid sha256:298d613a1d3d6135e8c2bcc20cfab46f3c8aa36bdbd127372f2c58e14f70d1ff +size 59765 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_1_tablet.png index d4697146ee..b9c5b45b0c 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_1_tablet.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_1_tablet.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ce6ed388bf7017de27d1f715eb20fc32dcd81289ae6ec1ed0ff11a889a78271 -size 54630 +oid sha256:a4084d3dffb51299c6901089b84d132f9242d26ea1cf3d7cef22e095ce392524 +size 53704 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_2_mobile.png index 04e99cb58e..32c5070634 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_2_mobile.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_access-code_example-access-code_0_document_2_mobile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:698626712c78ed6a24ea12e2041a47219d8338cd5cc74328f07d150f2646e8f1 -size 58341 +oid sha256:b7061be02a3ef51bb2d69c1f6ea66a3a4e1d53c2a6c315b283ef8592dd01e040 +size 58334 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_0_desktop.png index 6ff63d5d1d..7f20b39e92 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_0_desktop.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_0_desktop.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47df53d9a4630fa991d39f9420d0920c814cbf2b78891da45b678b1f45452b04 -size 17486 +oid sha256:67986068c453ec5534fd2138bd3974e43a6b837e2603416495be0e48679a66d6 +size 17441 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_2_mobile.png index 2695f0770a..f0f681a56c 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_2_mobile.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_timeout-panel_example-panel-with-timeout-warning_0_document_2_mobile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ca21587d7e4bf313e46414c7c484509716ee93ad9d66e7b02efc844b2757bb25 -size 13752 +oid sha256:f67e4ca5163a3770c17f4768fd548fc4e4ac0099d5cef4330b6176ee7c5174f2 +size 13805 diff --git a/src/components/access-code/example-access-code-error.njk b/src/components/access-code/example-access-code-error.njk index 3d8aca9600..49fdca36fe 100644 --- a/src/components/access-code/example-access-code-error.njk +++ b/src/components/access-code/example-access-code-error.njk @@ -58,28 +58,25 @@ layout: ~ "classes": "ons-u-mb-xl" }) }} -
- You can request a new access code to start a new study if you have lost or not received an access code. This can be sent to you by text or post. + If you have lost or not received an access code, you can request a new access code. + This can be sent to you by text or post.
{% set content %} -If you need to answer separately from the people you live with, you can request an individual access code to start a separate study.
+If you need to answer separately from the people you live with, you can request an individual access code.
{% call onsPanel({ "type": "warn" }) %} - Someone in your household must still complete a study using a household access code + Someone in your household must still complete a study using this household access code {% endcall %} {% endset %} {% call onsDetails({ "id": "details-access-code-error", - "title": "Need to answer separately from your household?", - "button": { - "close": "Hide this", - "contextSuffix": "content" - } + "title": "Need to answer separately from your household?" }) %} {{ content | safe }} diff --git a/src/components/access-code/example-access-code.njk b/src/components/access-code/example-access-code.njk index 1c98627b7b..d3f58506e6 100644 --- a/src/components/access-code/example-access-code.njk +++ b/src/components/access-code/example-access-code.njk @@ -34,28 +34,25 @@ layout: ~ "classes": "ons-u-mb-xl" }) }} -- You can request a new access code to start a new study if you have lost or not received an access code. This can be sent to you by text or post. + If you have lost or not received an access code, you can request a new access code. + This can be sent to you by text or post.
{% set content %} -If you need to answer separately from the people you live with, you can request an individual access code to start a separate study.
+If you need to answer separately from the people you live with, you can request an individual access code.
{% call onsPanel({ type: "warn" }) %} - Someone in your household must still complete a study using a household access code + Someone in your household must still complete a study using this household access code {% endcall %} {% endset %} {% call onsDetails({ - id: "details", - title: "Need to answer separately from your household?", - button: { - "close": "Hide this", - "contextSuffix": "content" - } + "id": "details", + "title": "Need to answer separately from your household?" }) %} {{ content | safe }}