Remove unused argument from cookie_banner macro

This commit is contained in:
Tom Byers
2020-01-09 09:48:07 +00:00
parent 07ca407343
commit f8a51f0b3e
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
{% block bodyStart %}
{% block cookie_message %}
{{ cookie_banner("GOV.UK Notify uses cookies which are essential for the site to work. We also use non-essential cookies to help us improve the service. Any data collected is anonymised. By continuing to use this site, you agree to our use of cookies.") }}
{{ cookie_banner() }}
{% endblock %}
{% endblock %}

View File

@@ -1,4 +1,4 @@
{% macro cookie_banner(message, id='global-cookie-message') %}
{% macro cookie_banner(id='global-cookie-message') %}
<div id="{{ id }}" class="notify-cookie-banner notify-cookie-banner__with-js" data-module="cookie-banner" role="region" aria-describedby="notify-cookie-banner__heading">
<div class="notify-cookie-banner__wrapper govuk-width-container">