Include file name in delete modal (#476)

This commit is contained in:
Daniel Markstedt 2021-11-18 17:24:59 -08:00 committed by GitHub
parent f46453bbd2
commit 53d38077f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@
<input type="submit" value="Attach">
{% endif %}
</form>
<form action="/files/delete" method="post" onsubmit="return confirm('Delete file?')">
<form action="/files/delete" method="post" onsubmit="return confirm('Delete file \'{{ file["name"] }}\'?')">
<input name="image" type="hidden" value="{{ file['name'] }}">
<input type="submit" value="Delete">
</form>