Use templates to render form elements.