add formview snippet