Correctly get field template. Fixes #237