forked from rDrama/rDrama
1
0
Fork 0

add "are you sure?" to /live

master
Aevann1 2022-09-24 02:07:43 +02:00
parent 0ff839d396
commit d2021c3b94
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@
<form action="/live/remove" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="hidden" name="id" value="{{id}}">
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" onclick="disable(this)" value="Remove">
<input autocomplete="off" class="btn btn-primary ml-auto" onclick="this.nextElementSibling.classList.remove('d-none');this.classList.add('d-none')" value="Remove">
<input autocomplete="off" class="btn btn-primary ml-auto d-none" type="submit" onclick="disable(this)" value="Are you sure?">
</form>
</td>
{% endif %}