updated template with div for form