Skip to content

Commit 018f0fe

Browse files
author
mgiagnoni
committed
Fixed typos
1 parent 15595cd commit 018f0fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cookbook/controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ end-user, create a new template located at
5454

5555
In addition to the standard HTML error page, Symfony provides a default error
5656
page for many of the most common response formats, including JSON
57-
(``error.json.twig``), XML, (``error.xml.twig``), and even Javascript
57+
(``error.json.twig``), XML (``error.xml.twig``) and even Javascript
5858
(``error.js.twig``), to name a few. To override any of these templates, just
5959
create a new file with the same name in the
6060
``app/Resources/TwigBundle/views/Exception`` directory. This is the standard

cookbook/form/form_customization.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Referencing Base Form Blocks (Twig specific)
342342

343343
So far, to override a particular form block, the best method is to copy
344344
the default block from `form_div_layout.html.twig`_, paste it into a different template,
345-
and the customize it. In many cases, you can avoid doing this by referencing
345+
and then customize it. In many cases, you can avoid doing this by referencing
346346
the base block when customizing it.
347347

348348
This is easy to do, but varies slightly depending on if your form block customizations
@@ -922,4 +922,4 @@ To render a help message below a field, pass in a ``help`` variable:
922922
.. tip::
923923
See :ref:`cookbook-form-theming-methods` for how to apply this customization.
924924

925-
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
925+
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig

0 commit comments

Comments
 (0)