fix broken sitekey delete link

This commit is contained in:
realaravinth 2021-08-09 18:59:35 +05:30
parent 00acf0c193
commit 9269539a8a
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -22,9 +22,9 @@
<. if READONLY { .>
<. let key = "."; .>
<. include!("./__edit-sitekey-icon.html"); .>
<a href="./delete/">
<a href="./delete/<.= key .>">
<. } else { .>
<a href="../delete/">
<a href="../delete/<.= key .>">
<. } .>
<img class="sitekey-form__delete"
src="<.= crate::FILES.get("./static/cache/img/svg/trash.svg").unwrap() .>"