diff --git a/doc/providers/form.rst b/doc/providers/form.rst index 30143eb91..338584fd1 100644 --- a/doc/providers/form.rst +++ b/doc/providers/form.rst @@ -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: @@ -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