symfony:symfony_tutorial_notes:creating_and_using_templates
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
symfony:symfony_tutorial_notes:creating_and_using_templates [2015/09/16 21:40] – [TL;DR] mithat | symfony:symfony_tutorial_notes:creating_and_using_templates [2015/09/16 21:40] – [Including other Templates] mithat | ||
---|---|---|---|
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