Sha256: aceef768697a63e01c889b84ab3501543422f05293428a16f16e01e6c3f90a32
Contents?: true
Size: 1.04 KB
Versions: 65
Compression:
Stored size: 1.04 KB
Contents
{% from "../button/macro.njk" import govukButton -%} <div {%- if params.id %} id="{{ params.id }}"{% endif %} class="govuk-exit-this-page {%- if params.classes %} {{ params.classes }}{% endif %}" data-module="govuk-exit-this-page" {%- for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %} {%- if params.activatedText %} data-i18n.activated="{{ params.activatedText | escape }}"{% endif %} {%- if params.timedOutText %} data-i18n.timed-out="{{ params.timedOutText | escape }}"{% endif %} {%- if params.pressTwoMoreTimesText %} data-i18n.press-two-more-times="{{ params.pressTwoMoreTimesText | escape }}"{% endif %} {%- if params.pressOneMoreTimeText %} data-i18n.press-one-more-time="{{ params.pressOneMoreTimeText | escape }}"{% endif %} > {{- govukButton({ html: params.html, text: params.text | default("Exit this page"), classes: "govuk-button--warning govuk-exit-this-page__button govuk-js-exit-this-page-button", href: params.redirectUrl | default("https://www.bbc.co.uk/weather") }) -}} </div>
Version data entries
65 entries across 65 versions & 1 rubygems