<% id ||= 'global-cookie-message' title ||= t("components.cookie_banner.title") text ||= t("components.cookie_banner.text") if text.kind_of?(Array) newtext = "" text.each do |t| newtext += "

#{t}

" end text = newtext else text = "

#{text}

" end text = raw(text) cookie_preferences_href ||= "/help/cookies" confirmation_message ||= raw(t("components.cookie_banner.confirmation_message.html", link: link_to( t("components.cookie_banner.confirmation_message.link"), cookie_preferences_href, class: "govuk-link", data: { module: "gem-track-click", 'track-category': "cookieBanner", 'track-action': "Cookie banner settings clicked from confirmation", }, ))) services_cookies ||= nil css_classes = %w(gem-c-cookie-banner govuk-clearfix) css_classes << "gem-c-cookie-banner--services" if services_cookies %>