From 42da151fc75778cd86bf80a97d8de7f2f5eed846 Mon Sep 17 00:00:00 2001 From: jaydarius Date: Wed, 8 May 2019 10:59:55 -0400 Subject: [PATCH] use or to complete the either statement --- docs/tutorial/templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/templates.rst b/docs/tutorial/templates.rst index 226081c9..7baa8ebc 100644 --- a/docs/tutorial/templates.rst +++ b/docs/tutorial/templates.rst @@ -73,7 +73,7 @@ specific sections. :data:`g` is automatically available in templates. Based on if ``g.user`` is set (from ``load_logged_in_user``), either the username -and a log out link are displayed, otherwise links to register and log in +and a log out link are displayed, or links to register and log in are displayed. :func:`url_for` is also automatically available, and is used to generate URLs to views instead of writing them out manually.