Hint - Nápoveda
Code
Markup
<div class="govuk-hint">
It's on your National Insurance card, benefit letter, payslip or P60.
For example, 'QQ 12 34 56 C'.
</div>
Macro
{% from "govuk/components/hint/macro.njk" import govukHint %}
{{ govukHint({
text:
"It's on your National Insurance card, benefit letter, payslip or P60.\n" +
"For example, 'QQ 12 34 56 C'.\n"
}) }}
Nápoveda with html
Code
Markup
<div class="govuk-hint">
It's on your National Insurance card, benefit letter, payslip or <a class="govuk-link" href="#">P60</a>.
For example, 'QQ 12 34 56 C'.
</div>
Macro
{% from "govuk/components/hint/macro.njk" import govukHint %}
{{ govukHint({
html:
`It's on your National Insurance card, benefit letter, payslip or <a class="govuk-link" href="#">P60</a>.\n` +
"For example, 'QQ 12 34 56 C'.\n"
}) }}