update template to use form helper