Added support for new gridField template in forms.