Patch 1

Added an HTML template for the types of fields to be rendered.
Added it to both the standard example and the webapi example.