Skip to main content
Spoken formats

Nunjucks

{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}

<form class="form">
{{ govukRadios({
name: "spoken-options",
fieldset: {
legend: {
  text: "How should we contact you if we need to speak to you?",
  isPageHeading: true,
  classes: "govuk-fieldset__legend--l"
}
},
hint: {
text: "We usually contact you by phone if we need to speak to you. Select the best option for your needs."  
},
items: [
{
  value: "Standard phone call",
  text: "Standard phone call"
},
{
  value: "Relay UK",
  text: "Relay UK"
},
{
  value: "Textphone",
  text: "Textphone"
},
{
  value: "Signing or lipspeaking",
  text: "Signing or lipspeaking"
}
]
}) }}

{{ govukButton({
text: "Continue"
}) }}
</form>