Revert "CONTENTBOX-247 Corrected syntax issue in widget renderer"

This reverts commit e76d769cde3e26763762e9a2657cd9c6d021007c.
Revert "CONTENTBOX-249 Resolved incorrect form post on layout deletion"

This reverts commit a362ba9b52e0b0001921daecfb6f8b84912b2a20.