From 81e8bbbb7f5f7e43f37da5b76071aa52b2c0e5c7 Mon Sep 17 00:00:00 2001 From: Idris Raja Date: Thu, 19 Feb 2015 09:57:56 -0600 Subject: [PATCH] improve grammar, make format consistent, and improve readability --- docs/patterns/flashing.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/patterns/flashing.rst b/docs/patterns/flashing.rst index 880cde5f..b2de07ce 100644 --- a/docs/patterns/flashing.rst +++ b/docs/patterns/flashing.rst @@ -38,7 +38,7 @@ So here is a full example:: return redirect(url_for('index')) return render_template('login.html', error=error) -And here the :file:`layout.html` template which does the magic: +And here is the :file:`layout.html` template which does the magic: .. sourcecode:: html+jinja @@ -55,7 +55,7 @@ And here the :file:`layout.html` template which does the magic: {% endwith %} {% block body %}{% endblock %} -And here the index.html template: +Here is the :file:`index.html` template which inherits from :file:`layout.html`: .. sourcecode:: html+jinja @@ -65,7 +65,8 @@ And here the index.html template:

Do you want to log in? {% endblock %} -And of course the login template: +And here is the :file:`login.html` template which also inherits from +:file:`layout.html`: .. sourcecode:: html+jinja