updated form tpl by adding missing form tags