symfony:symfony_tutorial_notes:creating_and_using_templates
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
symfony:symfony_tutorial_notes:creating_and_using_templates [2015/09/16 21:39] – [Overriding Core Templates] mithat | symfony:symfony_tutorial_notes:creating_and_using_templates [2015/09/16 21:40] – [Including other Templates] mithat | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== TL;DR ===== | ===== TL;DR ===== | ||
* Templates typically live in '' | * Templates typically live in '' | ||
- | * Third-party bundle templates live in '' | + | * Third-party bundle templates live in '' |
<code twig> | <code twig> | ||
Line 47: | Line 47: | ||
==== Including other Templates ==== | ==== Including other Templates ==== | ||
<code twig> | <code twig> | ||
- | | + | {% for article in articles %} |
- | {{ include(' | + | {{ include(' |
- | {% endfor %} | + | {% endfor %} |
</ | </ | ||
symfony/symfony_tutorial_notes/creating_and_using_templates.txt · Last modified: 2015/09/16 21:41 by mithat