fix delete

This commit is contained in:
Yannik Schmidt
2021-10-10 13:21:02 +02:00
parent e07eaf4717
commit 639c7b6255
2 changed files with 16 additions and 2 deletions

View File

@@ -43,6 +43,12 @@
{% endif %}">
{{ bd.customer }}</td>
<td style="line-height: 45px;">{{ bd.pdfDate.strftime("%Y/%m/%d") }}</td>
<td style="line-height: 45px;">
<form onsubmit="return confirm('Wirklich unwideruflich löschen?')"
action="/get-file" method="DELETE">
<button name="delete" value="{{ bd.docName }}">Löschen</button>
</form>
</td>
</tr>
{% endfor %}
</tbody>