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
1b33bd2b
Commit
1b33bd2b
authored
Jun 06, 2014
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added a note in the docs (refs #1356)
parent
d48bcc61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
doc/providers/form.rst
doc/providers/form.rst
+7
-1
No files found.
doc/providers/form.rst
View file @
1b33bd2b
...
...
@@ -38,7 +38,13 @@ Registering
If you don't want to create your own form layout, it's fine: a default one
will be used. But you will have to register the :doc:`translation provider
<translation>` as the default form layout requires it.
<translation>` as the default form layout requires it::
.. code-block:: php
$app->register(new Silex\Provider\TranslationServiceProvider(), array(
'translator.domains' => array(),
));
If you want to use validation with forms, do not forget to register the
:doc:`Validator provider <validator>`.
...
...
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