1
0
Fork 0
forked from bton/matekasse
matekasse/Website/templates/confirmation.html
2024-02-21 22:02:07 +01:00

16 lines
436 B
HTML

{% extends "base.html" %}
{% block customscript %}
<script type="text/javascript" charset="utf-8">
if (confirm("{message}") == true) {
fetch("{{destination}}", {
method: "POST",
body: JSON.stringify({data}),
headers: {
"Content-type": "application/json; charset=UTF-8"
}
})
} else {
window.location = "/list"
}
</script>
{% endblock %}