@@ -564,7 +564,7 @@ template name follows the same typical convention. The ``articleDetails.html.twi
564
564
template uses an ``article `` variable, which we pass to it. In this case,
565
565
you could avoid doing this entirely, as all of the variables available in
566
566
``list.html.twig `` are also available in ``articleDetails.html.twig `` (unless
567
- you set `with_context<twig_include_function> `_ to false).
567
+ you set `with_context `_ to false).
568
568
569
569
.. tip ::
570
570
@@ -573,9 +573,8 @@ you set `with_context<twig_include_function>`_ to false).
573
573
elements, it would look like this: ``{'foo': foo, 'bar': bar} ``.
574
574
575
575
.. versionadded :: 2.2
576
- The `include()<twig_include_function> `_ function is a new Twig feature
577
- that's available in Symfony 2.2. Prior, the `{% include %}<twig_include_tag> `_
578
- tag was used.
576
+ The `include() function `_ is a new Twig feature that's available in Symfony
577
+ 2.2. Prior, the `{% include %} tag `_ tag was used.
579
578
580
579
.. index ::
581
580
single: Templating; Embedding action
@@ -1538,5 +1537,6 @@ Learn more from the Cookbook
1538
1537
.. _`filters` : http://twig.sensiolabs.org/doc/filters/index.html
1539
1538
.. _`add your own extensions` : http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
1540
1539
.. _`hinclude.js` : http://mnot.github.com/hinclude/
1541
- .. _`twig_include_function` : http://twig.sensiolabs.org/doc/functions/include.html
1542
- .. _`twig_include_tag` : http://twig.sensiolabs.org/doc/tags/include.html
1540
+ .. _`with_context` : http://twig.sensiolabs.org/doc/functions/include.html
1541
+ .. _`include() function` : http://twig.sensiolabs.org/doc/functions/include.html
1542
+ .. _`{% include %} tag` : http://twig.sensiolabs.org/doc/tags/include.html
0 commit comments