Error message

Code

Markup

<span class="govuk-error-message">
<span class="govuk-visually-hidden">Error:</span> Error message about full name goes here
</span>

Macro

{% from "error-message/macro.njk" import govukErrorMessage %}

{{ govukErrorMessage({
  "text": "Error message about full name goes here"
}) }}