ezsystems/ezpublish-legacy — pull request #1026 by lolautruche (2014-07-10 14:56:19+00:00)
Title: Fix EZP-23054: eZIE: Missing form token from Request when closing

https://jira.ez.no/browse/EZP-23074

Cause of this is that when using a Twig template for the main layout and doing frontend content editing, CSRF token is not generated as a meta tag.

This patch ensures there is always a fallback (here with hidden span), so that one can grab the CSRF token in their JS.