GTNPORTAL-3055 fixing legends for required fields in UIForm.gtmpl