Events deletion: ask confirm

refs #5
This commit is contained in:
boyska 2019-02-10 16:44:04 +01:00
parent 3319502087
commit 52eea7a409

View file

@ -41,8 +41,9 @@ webshim.polyfill('forms-ext');
<div class="container-fluid">
<div class="alert alert-danger">
<form method="POST"
onsubmit="return confirm('Are you sure you want to delete?');"
action="{{ url_for ('db.delete_alarm', alarmid=alarmid) }}" >
<button class="btn btn-danger">Cancella</button>
<input type="submit" value="Cancella" class="btn btn-danger" />
</form>
</div>
</div>