Commit dddd0aab authored by WouterJ's avatar WouterJ Committed by Fabien Potencier

Fixed Form Provider documentation

parent 1b8bea92
...@@ -69,15 +69,6 @@ Registering ...@@ -69,15 +69,6 @@ Registering
"symfony/translation": "~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: The Symfony Security CSRF component is used to protect forms against CSRF attacks:
.. code-block:: json .. code-block:: json
...@@ -86,13 +77,15 @@ Registering ...@@ -86,13 +77,15 @@ Registering
"symfony/security-csrf": "~2.4" "symfony/security-csrf": "~2.4"
} }
If you want to use forms in your Twig templates, make sure to install the If you want to use forms in your Twig templates, you can also install the
Symfony Twig Bridge: 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 .. code-block:: json
"require": { "require": {
"symfony/twig-bridge": "~2.3" "symfony/twig-bridge": "~2.3",
"symfony/translation": "~2.3"
} }
Usage Usage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment