Written formats
Nunjucks
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
<form class="form">
{{ govukRadios({
name: "written-format",
fieldset: {
legend: {
text: "How should we write to you?",
isPageHeading: true,
classes: "govuk-fieldset__legend--l"
}
},
hint: {
html: "<p class='govuk-hint'>Select the best option for you.<p>"
},
items: [
{
value: "Standard letter (12-point Arial text on white paper)",
text: "Standard letter (12-point Arial text on white paper)"
},
{
value: "Large print",
text: "Large print"
},
{
value: "Letter with changes to font, paper colour, spacing or print size",
text: "Letter with changes to font, paper colour, spacing or print size"
},
{
value: "Audio",
text: "Audio"
},
{
value: "Braille",
text: "Braille"
},
{
value: "British Sign Language video",
text: "British Sign Language video"
},
{
value: "Microsoft Word document",
text: "Microsoft Word document"
},
{
value: "PDF with accessible text",
text: "PDF with accessible text"
}
]
}) }}
{{ govukButton({
text: "Continue"
}) }}
</form>