summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-06 00:52:45 -0500
committerChris McDonough <chrism@plope.com>2011-01-06 00:52:45 -0500
commitbe72c66a284aa2584f7a960cdf198cb0ec664477 (patch)
treeb4b90e2ea8b67d8dae9ce18b21bb15f44b86763f /docs/tutorials/wiki/authorization.rst
parent51b2e8cf88a6451e974103c0c2cb7bba29e58b7f (diff)
parentbe3d6f9b1bc55a5c20b04d36a0724f1ec092d169 (diff)
downloadpyramid-be72c66a284aa2584f7a960cdf198cb0ec664477.tar.gz
pyramid-be72c66a284aa2584f7a960cdf198cb0ec664477.tar.bz2
pyramid-be72c66a284aa2584f7a960cdf198cb0ec664477.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 1b66ace96..ee86eb543 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -136,7 +136,6 @@ Add a ``login.pt`` template to your templates directory. It's
referred to within the login view we just added to ``login.py``.
.. literalinclude:: src/authorization/tutorial/templates/login.pt
- :linenos:
:language: xml
Change ``view.pt`` and ``edit.pt``
@@ -146,11 +145,10 @@ We'll also need to change our ``edit.pt`` and ``view.pt`` templates to
display a "Logout" link if someone is logged in. This link will
invoke the logout view.
-To do so we'll add this to both templates within the ``<div
-class="main_content">`` div:
+To do so we'll add this to both templates within the ``<div id="right"
+class="app-welcome align-right">`` div:
.. code-block:: xml
- :linenos:
<span tal:condition="logged_in">
<a href="${request.application_url}/logout">Logout</a>