From 290ff7a41111b610e2238c09b4f0ba463826f27d Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 20 Dec 2023 13:59:42 +0100 Subject: [PATCH] Fix IPyWidgets rendering in BootstrapTemplate (#6100) --- panel/template/bootstrap/bootstrap.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/panel/template/bootstrap/bootstrap.html b/panel/template/bootstrap/bootstrap.html index 4df3c07ced..762a001e89 100644 --- a/panel/template/bootstrap/bootstrap.html +++ b/panel/template/bootstrap/bootstrap.html @@ -32,10 +32,16 @@ {%- if manifest %} {% endif -%} + + {% for src in template_resources['js'].values() %} + + {% endfor %} + {% for src in template_resources['js_modules'].values() %} + + {% endfor %} {% endblock %} {% block postamble %} - {% for css in template_resources['css'].values() %} @@ -64,13 +70,6 @@ } - - {% for src in template_resources['js'].values() %} - - {% endfor %} - {% for src in template_resources['js_modules'].values() %} - - {% endfor %} {% endblock %}