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