register global helper for editFormAttrs