mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 04:31:49 +02:00
Added in confirmation pop up upon bill deletion
This commit is contained in:
parent
d8b6355101
commit
f71af2aa1e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@
|
|||
<a class="edit" href="{{ url_for(".edit_bill", bill_id=bill.id) }}" title="{{ _("edit") }}">{{ _('edit') }}</a>
|
||||
<form action="{{ url_for(".delete_bill", bill_id=bill.id) }}" method="POST">
|
||||
{{ csrf_form.csrf_token }}
|
||||
<button class="action delete" type="submit" title="{{ _("delete") }}"></button>
|
||||
<button onclick="return confirm('Are you sure you want to delete this bill?')" class="action delete" type="submit" title="{{ _("delete") }}"></button>
|
||||
</form>
|
||||
{% if bill.external_link %}
|
||||
<a class="show" href="{{ bill.external_link }}" ref="noopener" target="_blank" title="{{ _("show") }}">{{ _('show') }} </a>
|
||||
|
|
Loading…
Reference in a new issue