Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
dddd0aab
Commit
dddd0aab
authored
Oct 24, 2014
by
WouterJ
Committed by
Fabien Potencier
Dec 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Form Provider documentation
parent
1b8bea92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
doc/providers/form.rst
doc/providers/form.rst
+5
-12
No files found.
doc/providers/form.rst
View file @
dddd0aab
...
@@ -68,15 +68,6 @@ Registering
...
@@ -68,15 +68,6 @@ Registering
"symfony/config": "~2.3",
"symfony/config": "~2.3",
"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:
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment