Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

Commit

Permalink
Fixed Form Provider documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and fabpot committed Dec 13, 2014
1 parent 1b8bea9 commit dddd0aa
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions doc/providers/form.rst
Expand Up @@ -68,15 +68,6 @@ Registering
"symfony/config": "~2.3",
"symfony/translation": "~2.3"
}
The Symfony Form Component relies on the PHP intl extension. If you don't have
it, you can install the Symfony Locale Component as a replacement:

.. code-block:: json
"require": {
"symfony/locale": "~2.3"
}
The Symfony Security CSRF component is used to protect forms against CSRF attacks:

Expand All @@ -86,13 +77,15 @@ Registering
"symfony/security-csrf": "~2.4"
}
If you want to use forms in your Twig templates, make sure to install the
Symfony Twig Bridge:
If you want to use forms in your Twig templates, you can also install the
Symfony Twig Bridge. Make sure to install, if you didn't do that already,
the Translation component in order for the bridge to work:

.. code-block:: json
"require": {
"symfony/twig-bridge": "~2.3"
"symfony/twig-bridge": "~2.3",
"symfony/translation": "~2.3"
}
Usage
Expand Down

0 comments on commit dddd0aa

Please sign in to comment.