Add: htmx header block and CSRF token

This commit is contained in:
Aroy-Art 2024-05-13 09:36:40 +02:00
parent 858631378d
commit 814e5eece4
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -70,7 +70,7 @@
</style>
</head>
<body class="{% block body_class %}{% endblock body_class %}">
<body class="{% block body_class %}{% endblock body_class %}" hx-header='{% block hx_header %}{% endblock hx_header %} {"X-CSRFToken": "{{ csrf_token }}"}'>
<div class="everything">
<div class="wires">
<!-- Content -->