Updated template to allow form