nelmio/NelmioApiDocBundle — pull request #381 by mvdbos (2014-05-14 20:08:17+00:00)
Title: Only render sandbox config if  the sandbox is enabled

Currently all sandbox-related stuff is rendered conditionally in method.html.twig, but not in layout.html.twig. In the latter the request format and body format can still be selected even though the sandbox is disabled.

This commit remedies that and does not render the sandbox config div is the sandbox is disabled.