diff --git a/book/templating.rst b/book/templating.rst index 4b003e8bad6..95c832923c8 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -206,8 +206,8 @@ First, build a base layout file: @@ -549,7 +549,9 @@ Including this template from any other template is simple:

Recent Articles

{% for article in articles %} - {{ include('Article/articleDetails.html.twig', { 'article': article }) }} + {{ include('Article/articleDetails.html.twig', { + 'article': article + }) }} {% endfor %} {% endblock %} @@ -663,7 +665,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**): {# ... #} @@ -676,7 +678,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):