comparison 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
comparison
equal deleted inserted replaced
266:7448aac005a1 267:5a1d7c2d965a
57 {{dynamic_style}} 57 {{dynamic_style}}
58 </style> 58 </style>
59 {% endif %} 59 {% endif %}
60 60
61 {% if csrf_token is defined %} 61 {% if csrf_token is defined %}
62 <script>var csrf_token = "{{csrf_token}}";</script> 62 <script>var csrf_token = "{{csrf_token}}"; var session_uuid="{{session_uuid}}";</script>
63 {% endif %} 63 {% endif %}
64 64
65 {{ script.generate_scripts() }} 65 {{ script.generate_scripts() }}
66 66
67 {% for script in scripts %} 67 {% for script in scripts %}