Ray Kootstra Ray Kootstra - 2 years ago
620 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:


Symfony2 generate csrf token via Form widget

{{ form_widget(form._token) }}