Skip to content
Browse files

Merge pull request #932 from fivethreeo/develop

mention cms_toolbar in templatetags docs
  • Loading branch information...
2 parents bb9dee6 + f85247e commit 82cf4554c67c6b34da0498d8288839c25dc848e5 @ojii ojii committed Aug 8, 2011
Showing with 17 additions and 1 deletion.
  1. +17 −1 docs/advanced/templatetags.rst
View
18 docs/advanced/templatetags.rst
@@ -411,4 +411,20 @@ If the current url has no cms-page and is handled by a navigation extender and
the url changes based on the language: You will need to set a language_changer
function with the set_language_changer function in cms.utils.
-For more information, see :doc:`i18n`.
+For more information, see :doc:`i18n`.
+
+.. templatetag:: cms_toolbar
+
+***********
+cms_toolbar
+***********
+
+The ``cms_toolbar`` templatetag will add the needed css and javascript to the
+sekizai blocks in the base template. The templatetag should be placed somewhere
+within the body of the HTML (within ``<body>...</body>``).
+
+Example::
+
+ <body>
+ {% cms_toolbar %}
+ ...

0 comments on commit 82cf455

Please sign in to comment.
Something went wrong with that request. Please try again.