mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
ran black
This commit is contained in:
parent
e1632af0b5
commit
89d0f75069
1 changed files with 4 additions and 3 deletions
|
@ -705,14 +705,15 @@ def delete_bill(bill_id):
|
|||
|
||||
url = url_for(".undo_delete_bill")
|
||||
alert = (
|
||||
'The bill has been deleted <a class="alert-link" href="'
|
||||
+ url
|
||||
+ '" id="undo"> undo </a>'
|
||||
'The bill has been deleted <a class="alert-link" href="'
|
||||
+ url
|
||||
+ '" id="undo"> undo </a>'
|
||||
)
|
||||
flash(Markup(alert))
|
||||
|
||||
return redirect(url_for(".list_bills"))
|
||||
|
||||
|
||||
@main.route("/<project_id>/undo")
|
||||
def undo_delete_bill():
|
||||
bill = Bill()
|
||||
|
|
Loading…
Reference in a new issue