Fix kids -> children
This commit is contained in:
parent
f31b271e31
commit
9f66c76a9e
|
@ -51,15 +51,15 @@ def rsvp(code):
|
||||||
|
|
||||||
# Lookup guests from code
|
# Lookup guests from code
|
||||||
adults = None
|
adults = None
|
||||||
kids = None
|
children = None
|
||||||
try:
|
try:
|
||||||
name, adults, kids = get_name_and_replies(code)
|
name, adults, children = get_name_and_replies(code)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
error = "Code invalide"
|
error = "Code invalide"
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
'rsvp.html',
|
'rsvp.html',
|
||||||
adults=adults,
|
adults=adults,
|
||||||
kids=kids,
|
children=children,
|
||||||
error=error,
|
error=error,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue