fabpot/Silex — Issue #199: FormServiceProvider documentation missing?
Author: teunvanvegchel
Created: 2011-10-25 20:48:00+00:00
State: open

Hi, I can't seem to find (up to date) documentation for the FormServiceProvider. I'm trying to get it working, but I'm stuck on a CSRF error: "The CSRF token is invalid. Please try to resubmit the form".

The FormServiceProvider is registered as follows:
```
$app->register(new \Silex\Provider\FormServiceProvider(), array(
'form.secret'	=> 'my-little-secret',
'form.class_path'	=> __DIR__.'/../vendor/symfony/src'
));
```
The form is displaying just fine, but on submit, I'm getting the error (displayed in the form via the twig helper).

Any suggestions?