aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-08-21 21:55:47 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-08-21 21:55:47 +0200
commit16fcfd284e3a99bc57449f18501e6f75e91c9d94 (patch)
tree3a008603883c7497112dca32b7e28596f5ce0aaf /budget/web.py
parent929833cc04e81a8586892d33a9d1bbbc38592ea4 (diff)
downloadihatemoney-mirror-16fcfd284e3a99bc57449f18501e6f75e91c9d94.zip
ihatemoney-mirror-16fcfd284e3a99bc57449f18501e6f75e91c9d94.tar.gz
ihatemoney-mirror-16fcfd284e3a99bc57449f18501e6f75e91c9d94.tar.bz2
Add a flash message + the name of the site when sending invitations
Diffstat (limited to 'budget/web.py')
-rw-r--r--budget/web.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/budget/web.py b/budget/web.py
index 39ffd1a..d91bbb7 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -152,6 +152,7 @@ def invite():
recipients=[email.strip()
for email in form.emails.data.split(",")])
mail.send(msg)
+ flash("You invitations have been sent")
return redirect(url_for("list_bills"))
return render_template("send_invites.html", form=form)