Ray Kootstra Ray Kootstra - 1 year ago
461 1

If your not sure how to generate the CSRF token for your current object that is stated in the form, you can generate the csrf form element by using the following example:

Twig

Symfony2 generate csrf token via Form widget

{{ form_widget(form._token) }}