diff sat_templates/templates/bulma/base/base.html @ 267:5a1d7c2d965a

bulma (base/base.html): expose `session_uuid` to scripts
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:28:31 +0200
parents a62822c6a114
children a35ddf972ad2
line wrap: on
line diff
--- a/sat_templates/templates/bulma/base/base.html	Mon Aug 03 08:44:50 2020 +0200
+++ b/sat_templates/templates/bulma/base/base.html	Fri Aug 14 08:28:31 2020 +0200
@@ -59,7 +59,7 @@
     {% endif %}
 
     {% if csrf_token is defined %}
-        <script>var csrf_token = "{{csrf_token}}";</script>
+        <script>var csrf_token = "{{csrf_token}}"; var session_uuid="{{session_uuid}}";</script>
     {% endif %}
 
     {{ script.generate_scripts() }}