diff options
| author | Paul Everitt <paul@agendaless.com> | 2008-07-18 14:31:06 +0000 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2008-07-18 14:31:06 +0000 |
| commit | 7bce0d6d925370dd5721100c28693f806b68344b (patch) | |
| tree | 058beb7ba79395f2cf50abfa97dbb6e856862d2a /docs/narr/templates.rst | |
| parent | ca9f9e3d16e8c84ab3958bf51ea78da09a089ea8 (diff) | |
| download | pyramid-7bce0d6d925370dd5721100c28693f806b68344b.tar.gz pyramid-7bce0d6d925370dd5721100c28693f806b68344b.tar.bz2 pyramid-7bce0d6d925370dd5721100c28693f806b68344b.zip | |
Fix the highlighting directive for ZCML
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index e98cf4d86..5c61cd0da 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -24,9 +24,9 @@ named "templates", you can render the template in a view via:: from repoze.bfg.template import render_template render_template('templates/foo.html', foo=1, bar=2) -You can also wire up page templates via ZCML:: +You can also wire up page templates via ZCML: -.. code-block:: xml +.. sourcecode:: xml <bfg:view for=".models.IMapping" |
