blob: 543a2e6ad7f0967e317c8151be5aad8b4222cd1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{ define "_footer" }}
</main>
<script>
function deleteEntry(id) {
fetch("/entries/"+id, { method: 'DELETE' })
.then((res)=>{
window.location.href = '/'
});
}
</script>
</body>
</html>
{{ end }}
|