diff --git a/django_app/redbox_app/templates/base.html b/django_app/redbox_app/templates/base.html index c8c1e30a7..809af6b7f 100644 --- a/django_app/redbox_app/templates/base.html +++ b/django_app/redbox_app/templates/base.html @@ -1,4 +1,5 @@ {% from "macros/iai-top-nav.html" import iaiTopNav %} +{% from "macros/use-trusted-types.html" import use_trusted_types %} @@ -31,9 +32,6 @@ data-domain="redbox.ai.cabinetoffice.gov.uk" src="https://plausible.io/js/script.pageview-props.tagged-events.outbound-links.file-downloads.js"> {% endif %} - - - @@ -115,6 +113,10 @@ + {{ use_trusted_types() }} + + + diff --git a/django_app/redbox_app/templates/chats.html b/django_app/redbox_app/templates/chats.html index 6b78333a2..f20da20e6 100644 --- a/django_app/redbox_app/templates/chats.html +++ b/django_app/redbox_app/templates/chats.html @@ -3,7 +3,6 @@ {% from "macros/govuk-button.html" import govukButton %} {% from "macros/chat-macros.html" import message_box %} {% from "macros/govuk-notification-banner.html" import govukNotificationBanner %} -{% from "macros/use-trusted-types.html" import use_trusted_types %} {% block content %} @@ -153,7 +152,6 @@

Current chat

-{{ use_trusted_types() }} {% if COMPRESSION_ENABLED %} {% compress js %} diff --git a/django_app/redbox_app/templates/citations.html b/django_app/redbox_app/templates/citations.html index bcf16c277..e1183ce0d 100644 --- a/django_app/redbox_app/templates/citations.html +++ b/django_app/redbox_app/templates/citations.html @@ -2,7 +2,6 @@ {% extends "base.html" %} {% from "macros/govuk-button.html" import govukButton %} {% from "macros/govuk-notification-banner.html" import govukNotificationBanner %} -{% from "macros/use-trusted-types.html" import use_trusted_types %} {% block content %} @@ -20,7 +19,6 @@

Citations

-{{ use_trusted_types() }} {% if COMPRESSION_ENABLED %} {% compress js %}