remove form elements from content