Permalink
Browse files

Tweaking the new templating component documentation.

  • Loading branch information...
weaverryan committed Mar 19, 2012
1 parent f5e52f8 commit 0485b29797bfa7993af631600618254473d34eab
Showing with 14 additions and 5 deletions.
  1. +1 −0 components/index.rst
  2. +13 −5 components/templating.rst
View
@@ -15,6 +15,7 @@ The Components
locale
process
routing
+ templating

This comment has been minimized.

Show comment Hide comment
@stof

stof Mar 19, 2012

Member

broken indentation

@stof

stof Mar 19, 2012

Member

broken indentation

This comment has been minimized.

Show comment Hide comment
@weaverryan

weaverryan Mar 19, 2012

Member

thanks - fixed now

@weaverryan

weaverryan Mar 19, 2012

Member

thanks - fixed now

yaml
.. include:: /components/map.rst.inc
View
@@ -49,11 +49,10 @@ the file `views/hello.php` and returns the output text.
<!-- views/hello.php -->
Hello, <?php echo $firstname ?>!
-
-Template inheritence with slots
+Template Inheritance with Slots
-------------------------------
-The template inheritence is designed to share layouts with many templates.
+The template inheritance is designed to share layouts with many templates.
.. code-block::php
@@ -84,7 +83,7 @@ sub-template to set its parent template.
<?php echo $page->body ?>
</p>
-To use template inheritence, the :class:`Symfony\\Templating\\Helper\\SlotsHelper`
+To use template inheritance, the :class:`Symfony\\Templating\\Helper\\SlotsHelper`
helper must be registered.
use Symfony\Templating\Helper\SlotsHelper;
@@ -97,6 +96,15 @@ helper must be registered.
.. note::
- Multiple levels of inheritence are possible: a layout can extend an other
+ Multiple levels of inheritance is possible: a layout can extend an other
layout.
+Output Escaping
+---------------
+
+This documentation is still being written.
+
+The Asset Helper
+----------------
+
+This documentation is still being written.

0 comments on commit 0485b29

Please sign in to comment.