How to remove a theme from a form?