sonata-project/SonataPageBundle — pull request #59 by pulse00 (2012-02-24 17:56:13+00:00)
Title: Rendering a custom form fails with the default layout

I'm not 100% sure why this is happening, but when you render a custom form in a template of a hybrid page using the default sonata page layout, the form fields are not rendered at all.

This PR solves this by simply setting a content varialbe once to the output of `block('content')` and checking against that variable instead of calling `block('content')` twice.