From 2d5aed9025ae38219285ab3fbadb74bc18011e61 Mon Sep 17 00:00:00 2001 From: irisfaraway Date: Mon, 2 Oct 2023 16:32:45 +0100 Subject: [PATCH] Remove unnecessary fieldset https://eaflood.atlassian.net/browse/IWTF-3677 This was a hangover from a previous version of the page and the `selectText` has since been refactored out. --- .../src/pages/contact/contact/contact.njk | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/gafl-webapp-service/src/pages/contact/contact/contact.njk b/packages/gafl-webapp-service/src/pages/contact/contact/contact.njk index 73a95fcf27..5036fafb05 100644 --- a/packages/gafl-webapp-service/src/pages/contact/contact/contact.njk +++ b/packages/gafl-webapp-service/src/pages/contact/contact/contact.njk @@ -120,10 +120,10 @@ value: "none", text: mssgs.important_info_contact_post, checked: payload['how-contacted'] === 'post' - }), itemsArray) + }), itemsArray) %} {% endif %} -{% else %} +{% else %} {% set itemsArray = (itemsArray.push( { value: "none", @@ -132,7 +132,7 @@ conditional: { html: noneMessageHtml } - }), itemsArray) + }), itemsArray) %} {% endif %} @@ -154,13 +154,6 @@ idPrefix: "how-contacted", name: "how-contacted", errorMessage: { text: errorMsg } if error['how-contacted'], - fieldset: { - legend: { - text: selectText, - isPageHeading: false, - classes: "govuk-body-m" - } - }, items: itemsArray }) }} @@ -195,4 +188,4 @@ document.getElementById("text-rw").style.display = "block" }) })() -{% endblock %} \ No newline at end of file +{% endblock %}