Skip to content

Commit 2b5c231

Browse files
committed
Page titles.
1 parent 55a6aa2 commit 2b5c231

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flask_wtforms_tutorial/routes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def contact():
2424
return render_template(
2525
"contact.jinja2",
2626
form=form,
27-
template="form-template"
27+
template="form-template",
28+
title="Contact Form"
2829
)
2930

3031

@@ -37,7 +38,8 @@ def signup():
3738
return render_template(
3839
"signup.jinja2",
3940
form=form,
40-
template="form-template"
41+
template="form-template",
42+
title="Signup Form"
4143
)
4244

4345

0 commit comments

Comments
 (0)