Sha256: d76ce0f9bbd7c00ba39ef4756270a4bd2a8fc35fa412282d9d94b62bb75d8a44
Contents?: true
Size: 610 Bytes
Versions: 38
Compression:
Stored size: 610 Bytes
Contents
{% from "../../macros/attributes.njk" import govukAttributes -%} {% set visuallyHiddenText = params.visuallyHiddenText | default("Error") -%} {% set errorMessageText = params.html | safe | trim | indent(2) if params.html else params.text -%} <p {%- if params.id %} id="{{ params.id }}"{% endif %} class="govuk-error-message {%- if params.classes %} {{ params.classes }}{% endif %}" {{- govukAttributes(params.attributes) }}> {% if visuallyHiddenText %} <span class="govuk-visually-hidden">{{ visuallyHiddenText }}:</span> {{ errorMessageText }} {% else %} {{ errorMessageText }} {% endif %} </p>
Version data entries
38 entries across 38 versions & 2 rubygems