Skip to content

Commit

Permalink
Remove unnecessary fieldset (#1807)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
irisfaraway authored Oct 5, 2023
1 parent 239ea81 commit bba9417
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions packages/gafl-webapp-service/src/pages/contact/contact/contact.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -132,7 +132,7 @@
conditional: {
html: noneMessageHtml
}
}), itemsArray)
}), itemsArray)
%}
{% endif %}

Expand All @@ -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
}) }}

Expand Down Expand Up @@ -195,4 +188,4 @@
document.getElementById("text-rw").style.display = "block"
})
})()</script>
{% endblock %}
{% endblock %}

0 comments on commit bba9417

Please sign in to comment.