Add option to "undecorate" resource for forms

Ref: #2057