Sha256: 554c365fd1bfb7d5ecabbdf1be71cb88b430533e91d7da69642702e5d2034545
Contents?: true
Size: 1.19 KB
Versions: 16
Compression:
Stored size: 1.19 KB
Contents
<div class="govuk-error-summary {%- if params.classes %} {{ params.classes }}{% endif %}" aria-labelledby="error-summary-title" role="alert" {%- if params.disableAutoFocus %} data-disable-auto-focus="true"{% endif %} {%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %} data-module="govuk-error-summary"> <h2 class="govuk-error-summary__title" id="error-summary-title"> {{ params.titleHtml | safe if params.titleHtml else params.titleText }} </h2> <div class="govuk-error-summary__body"> {% if caller or params.descriptionHtml or params.descriptionText %} <p> {{ caller() if caller else (params.descriptionHtml | safe if params.descriptionHtml else params.descriptionText) }} </p> {% endif %} <ul class="govuk-list govuk-error-summary__list"> {% for item in params.errorList %} <li> {% if item.href %} <a href="{{ item.href }}"{% for attribute, value in item.attributes %} {{attribute}}="{{value}}"{% endfor %}>{{ item.html | safe if item.html else item.text }}</a> {% else %} {{ item.html | safe if item.html else item.text }} {% endif %} </li> {% endfor %} </ul> </div> </div>
Version data entries
16 entries across 16 versions & 1 rubygems