Added confirmation to row deletion

This commit is contained in:
frederikpyt
2020-06-30 14:09:11 +02:00
parent ed9e6c9d6a
commit 3aee5515b1
17 changed files with 14 additions and 206 deletions
@@ -32,7 +32,7 @@
@csrf
@method("delete")
<button class="w-100 nostyle" type="submit"><img class="w-100 cursor-pointer" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></button>
<button onclick="return confirm('Are you sure you want to delete?');" class="w-100 nostyle" type="submit"><img class="w-100 cursor-pointer" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></button>
</form>
</td>
</tr>