aboutsummaryrefslogtreecommitdiffstats
path: root/wedding.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2015-03-17 09:14:47 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2015-03-17 09:14:47 -0400
commit901f8c9277be081c5d454e75c033c086311a95ea (patch)
tree64f57e9dfc833187d6898d37b0e2f42b32489dcc /wedding.py
parent839cc1b2a37a600677ab8ecbf14a7544f97ce5d4 (diff)
downloadwedding-website-901f8c9277be081c5d454e75c033c086311a95ea.tar.gz
update template
Diffstat (limited to 'wedding.py')
-rw-r--r--wedding.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wedding.py b/wedding.py
index 181f3f0..7b042cb 100644
--- a/wedding.py
+++ b/wedding.py
@@ -47,9 +47,7 @@ def rsvp():
r = query_db("SELECT * from guests where user_name=?",
(session["user_name"],), one=True)
return render_template("{0}/rsvp.htm".format(session["lang"]),
- username=session["user_name"],
- lang=session["lang"],
- fullname=r[2])
+ form=r)
if request.method == 'POST':
db = get_db()
cur = db.execute("UPDATE guests set ", args)