Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0485b29

Browse filesBrowse files
committed
Tweaking the new templating component documentation.
1 parent f5e52f8 commit 0485b29
Copy full SHA for 0485b29

File tree

Expand file treeCollapse file tree

2 files changed

+14
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+14
-5
lines changed

‎components/index.rst

Copy file name to clipboardExpand all lines: components/index.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The Components
1515
locale
1616
process
1717
routing
18+
templating
1819
yaml
1920

2021
.. include:: /components/map.rst.inc

‎components/templating.rst

Copy file name to clipboardExpand all lines: components/templating.rst
+13-5Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ the file `views/hello.php` and returns the output text.
4949
<!-- views/hello.php -->
5050
Hello, <?php echo $firstname ?>!
5151
52-
53-
Template inheritence with slots
52+
Template Inheritance with Slots
5453
-------------------------------
5554

56-
The template inheritence is designed to share layouts with many templates.
55+
The template inheritance is designed to share layouts with many templates.
5756

5857
.. code-block::php
5958
@@ -84,7 +83,7 @@ sub-template to set its parent template.
8483
<?php echo $page->body ?>
8584
</p>
8685
87-
To use template inheritence, the :class:`Symfony\\Templating\\Helper\\SlotsHelper`
86+
To use template inheritance, the :class:`Symfony\\Templating\\Helper\\SlotsHelper`
8887
helper must be registered.
8988

9089
use Symfony\Templating\Helper\SlotsHelper;
@@ -97,6 +96,15 @@ helper must be registered.
9796

9897
.. note::
9998

100-
Multiple levels of inheritence are possible: a layout can extend an other
99+
Multiple levels of inheritance is possible: a layout can extend an other
101100
layout.
102101

102+
Output Escaping
103+
---------------
104+
105+
This documentation is still being written.
106+
107+
The Asset Helper
108+
----------------
109+
110+
This documentation is still being written.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.