{% macro govukExitThisPage(params) %} {% from "govuk_frontend_jinja/components/button/macro.html" import govukButton -%}
{{- 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") }) -}}
{% endmacro %}