Skip to content

Commit 2d25811

Browse files
committed
Fixing some syntax errors I caused
1 parent bb90be4 commit 2d25811

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

book/templating.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ template name follows the same typical convention. The ``articleDetails.html.twi
564564
template uses an ``article`` variable, which we pass to it. In this case,
565565
you could avoid doing this entirely, as all of the variables available in
566566
``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).
568568

569569
.. tip::
570570

@@ -573,9 +573,8 @@ you set `with_context<twig_include_function>`_ to false).
573573
elements, it would look like this: ``{'foo': foo, 'bar': bar}``.
574574

575575
.. 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.
579578

580579
.. index::
581580
single: Templating; Embedding action
@@ -1538,5 +1537,6 @@ Learn more from the Cookbook
15381537
.. _`filters`: http://twig.sensiolabs.org/doc/filters/index.html
15391538
.. _`add your own extensions`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
15401539
.. _`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

reference/constraints/UniqueEntity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ method should return a countable result.
155155
errorPath
156156
~~~~~~~~~
157157

158-
**type**: ``string`` **default**: The name of the first `field`_
158+
**type**: ``string`` **default**: The name of the first field in `fields`_
159159

160160
.. versionadded:: 2.1
161161
The ``errorPath`` option was added in Symfony 2.1.

0 commit comments

Comments
 (0)