Skip to content

Commit

Permalink
Merge pull request pallets#1354 from idrisr/master
Browse files Browse the repository at this point in the history
improve grammar, make format consistent, and improve readability
  • Loading branch information
untitaker committed Mar 5, 2015
2 parents 5164be0 + 81e8bbb commit c282ab1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/patterns/flashing.rst
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -65,7 +65,8 @@ And here the index.html template:
<p>Do you want to <a href="{{ url_for('login') }}">log in?</a>
{% 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

Expand Down

0 comments on commit c282ab1

Please sign in to comment.