How can I add form fields or change them in a template?