changeset 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 (2020-08-14)
parents 7448aac005a1
children ce2fd7a3911d
files sat_templates/templates/bulma/base/base.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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() }}